• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-1398
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Babbage Linden
Reporter: eye ree
Votes: 5
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

Mono beta - link messages are 2 times slower under mono

Created: 31/Jan/08 10:38 PM   Updated: 29/Aug/08 01:32 PM
Return to search
Component/s: Performance
Affects Version/s: Mono Beta
Fix Version/s: None

Environment: n/a
Issue Links:
Relates

Linden Lab Issue ID: DEV-15298


 Description  « Hide
Put the following two scripts in the same prim. Under mono they exchange about link 22 messages per second. Under the old VM they exchange about 44 messages per second.

=== Script 1 ===========================================================================

integer count;
integer limit = 100;
float start;

default
{

touch_start(integer total_number)

{ state run; }

}

state run
{

state_entry()

{ llOwnerSay("Running"); count = 0; start = llGetTime(); llMessageLinked(LINK_THIS, 1, "", NULL_KEY); }

touch_start(integer total_number)

{ llOwnerSay("Abort"); state default; }

link_message(integer sender, integer num, string str, key id)
{
if (num == 2)
{
if (++count < limit)

{ llMessageLinked(LINK_THIS, 1, "", NULL_KEY); }

else

{ float end = llGetTime(); llOwnerSay("Elapsed: " + (string)(end-start) + " MPS: " + (string)((limit*2)/(end - start))); state default; }

}
}

}

=== Script 1 ===========================================================================

default
{
link_message(integer sender, integer num, string str, key id)
{
if (num == 1)

{ llMessageLinked(LINK_THIS, 2, "", NULL_KEY); }

}
}



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Periapse Linden added a comment - 28/May/08 10:00 AM
passed QA

louise rumpler added a comment - 29/Aug/08 01:32 PM
This possibly marks the end of my arcade game development