Difference between revisions of "CPU-usage of Functions"
m
Reverted edits by Anubis4545 (Talk); changed back to last version by Haama
imported>Anubis4545 (Removing all content from page) |
imported>Qazaaq m (Reverted edits by Anubis4545 (Talk); changed back to last version by Haama) |
||
Line 1: | Line 1: | ||
This is a list of functions and how much they drop FPS. It's (well, will be) organized from the most CPU-intense functions to the least. | |||
If you would like to contribute, see [[Testing Script CPU Usage]] for more details, or download the [http://www.tesnexus.com/downloads/file.php?id=13343 Speed Test Template] mod. | |||
Finally, post your results here! Please post the average of the tests, sign your tests, and give a brief description of your computer's hardware on your User page. (an example is coming up, as soon as I can figure out tables) | |||
==Heavy functions== | |||
GetFPS - Once per frame, lost ~3 FPS --[[User:Haama|Haama]] 19:04, 11 September 2007 (EDT) | |||
GetNumItems - This function takes longer depending on the number of items in the container. Takes less time then GetInventoryObject for the same number of items.--[[User:Haama|Haama]] 19:04, 11 September 2007 (EDT) | |||
[[Category:Code Optimization]] |