Difference between revisions of "CPU-usage of Functions"
imported>Haama (Useful contribution info) |
imported>Qazaaq m (Reverted edits by Anubis4545 (Talk); changed back to last version by Haama) |
||
(7 intermediate revisions by 2 users not shown) | |||
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. | 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, | 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) | |||
Finally, post | |||
Line 36: | 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]] |
Latest revision as of 11:14, 18 March 2008
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[edit | edit source]
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)