Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How do I test a parcel for scripts that may be causing excessive lag?

Sitearm Madonna
Registered User
Join date: 6 Oct 2005
Posts: 535
03-29-2006 11:15
Am working on a project where suddenly we notice increased lag as some scripted objects are being added. Some are bought and some are custom.

How do I test a parcel for scripts that may be causing excessive lag? How to I test for relative contributions to lag of multiple scripted objects in a parcel?

Appreciate any counsel you can provide :)
_____________________
... software packages, acting in society... life creating, and accepted, and widely... spread throughout the world... freeing, liberating... allow... each person individual control and decision making... to create living structure... wherever they are. / Christopher Alexander, 1996
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
03-29-2006 11:40
If you have access to the Estate menu you can check for top CPU consuming scripts in the Debug tab. Otherwise, I have little idea...
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
Leonard Churchill
Just a Horse
Join date: 19 Oct 2005
Posts: 59
03-29-2006 13:17
Jesrad,

If you're thinking along the lines of an idea to allow a scripter to be part of a group on an estate and have access to the estate tools to monitor the performance of thier script, count me in. That would be an option for Sitearm as well, albeit a bit inconvenient to move everything to the estate and back again.

<soapbox>Overall, I think it would in LL's best interests and for the SL community at large to give users some ability beyond viewing the simstats window while scripts run. In most of my club code, I use the two environmental calls (fps, time dilation) to delay some processing demands (which is nice, except that now my scripts run slower than others who have no regard for loading up the server).

I may be an optomist, but I think that customers would shy away from poorly written sim-unfriendly code if they knew it was causing lag... or scripters would be motivated by profit to give a touchon/touch off option to suspend tasks not needed when the object is not being used. </soapbox>