Difference between revisions of "CPU-usage of Functions"
imported>Haama (Moved bulk to Testing Script CPU Usage) |
imported>Haama (Category link) |
||
Line 10: | Line 10: | ||
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) | 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]] |
Revision as of 00:42, 2 October 2007
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 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 --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.--Haama 19:04, 11 September 2007 (EDT)