[JIRA] Commented: (SVC-3895) Rezzing Mono scripted object cripples sim FPS

Maggie Darwin (JIRA) no-reply at lindenlab.cascadeo.com
Thu Jan 7 11:53:48 PST 2010


    [ http://jira.secondlife.com/browse/SVC-3895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=157363#action_157363 ] 

Maggie Darwin commented on SVC-3895:
------------------------------------

Um...is that a question that even needs asking, Ann? Of course it needs beta grid testing. 

> Rezzing Mono scripted object cripples sim FPS
> ---------------------------------------------
>
>                 Key: SVC-3895
>                 URL: http://jira.secondlife.com/browse/SVC-3895
>             Project: 2. Second Life Service - SVC
>          Issue Type: Bug
>          Components: Scripts
>    Affects Versions: 1.25 Server, 1.26 Server, 1.27 Server, 1.30 Server
>            Reporter: Eata Kitty
>            Assignee: Babbage Linden
>            Priority: Showstopper
>         Attachments: Snapshot_046.png, Snapshot_047.png, Snapshot_049.png
>
>
> Tested on Second Life Server 1.25.5.109327
> ----------------
> Rezzing Mono scripted objects results in a heavy performance penalty. Identical objects compiled into LSL do not cause similar perfomance penalty.
> This also leads me to believe that attaching objects with many Mono scripts results in a larger performance penalty to the simulator than LSL.
> The following example can bring simulators to their knees.
> ----------------
> Reproduction:
> Rezzer
> {code}
> integer switch;
> integer count;
> default
> {
>     touch_start(integer total_number)
>     {
>         if(switch=!switch)
>         {
>             llSetTimerEvent(0.1);
>         }
>         else
>         {
>             llSetTimerEvent(0);
>             llSetText("",<1,1,1>,1);
>             count=0;
>         }
>     }
>     timer()
>     {
>         llRezObject("Object",llGetPos() + <0,0,1>,ZERO_VECTOR,ZERO_ROTATION,1);
>         llSetText("Rezzed Objects : "+(string)(++count),<1,1,1>,1);
>     }
> }
> {code}
> Child Object
> {code}
> default
> {
>     on_rez(integer foo)
>     {
>         if(foo)
>             llSetTimerEvent(0.5);
>     }
>     timer()
>     {
>         llDie();
>     }
> }
> {code}
> Change the rezzed object between Mono/LSL to observe effect.
> Monitor the results with the sim FPS shown via the Control Shift 1. Results will vary depending on simulator, lightly loaded sims will show less difference.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.secondlife.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Jira-notify mailing list