CPU-usage of Functions

Revision as of 19:07, 11 September 2007 by imported>Haama (Still in progress, right spelling this time)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:

scn aaaTestItemScript

begin GameMode
  ;function
end

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

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)