This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "CPU-usage of Functions"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
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 01: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)