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

Ariu Arai (JIRA) no-reply at lindenlab.cascadeo.com
Thu Jan 7 14:31:41 PST 2010


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

Ariu Arai commented on SVC-3895:
--------------------------------

Great news! Finally we can finally start using mono without having to worry about rez-lag.

Now... If the a Linden could do what Babbage did here to other Jira issues, that'd really help SL be a better place to be. (IE: MISC-3088 , so scripters like myself don't have to worry about their scripts being stolen due to exploits)

> 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