Difference between revisions of "CPU-usage of Functions"

77 bytes added ,  12:14, 18 March 2008
m
Reverted edits by Anubis4545 (Talk); changed back to last version by Haama
imported>Haama
(Still in progress, right spelling this time)
 
imported>Qazaaq
m (Reverted edits by Anubis4545 (Talk); changed back to last version by Haama)
 
(8 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, create a token, and add a short script to it, like this:
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.
<pre>scn aaaTestItemScript
 
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)


begin GameMode
  ;function
end</pre>
Then add however many to the player through the console. Finally, place them here. If the function has already been posted, add your results. Please sign your results, and include your CPU, Video Card, etc.


==Heavy functions==
==Heavy functions==
Line 13: 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]]
Anonymous user