Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* In summery, base cost of a (mono) script is about 3000 bytes memory use and 150 nanoseconds CPU cost. */
- //CPU usage of "empty script" - remember has to run for over 30 minutes to not include compile cost if want to do test.
- //Script info: 'CPUCostEmptyScript': [1/1] running scripts, 64 KB allowed memory size limit, 0.000151 ms of CPU time consumed.
- default
- {
- state_entry()
- {
- }
- }
- //Memory use of nearly empty script
- //MemoryUse: 3364
- default
- {
- state_entry()
- {
- llSay(0, (string)(65536 - llGetFreeMemory()));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement