[Opensim-dev] llSetTimerEvent accuracy
Jeff Kelley
opensim at pescadoo.net
Sat Mar 19 23:43:06 UTC 2016
I always thought that llSetTimerEvent was grossly inaccurate when
working with fast timer (~ 0.1s) and this opinion is shared among
scripters.
That's only true on MONO.
I recently had a try on Windows. The difference is shocking.
Typical Linux figures :
[13:49] Primitive: 99.913000
[13:49] Primitive: 100.266000
[13:49] Primitive: 100.483000
[13:49] Primitive: 99.974000
[13:49] Primitive: 100.312000
[13:49] Primitive: 100.013000
[13:49] Primitive: 134.192000
[13:49] Primitive: 100.383000
[13:49] Primitive: 100.304000
Admit it, that's just crap.
Windows :
[13:44] Primitive: 100.000200
[13:44] Primitive: 100.000100
[13:44] Primitive: 100.000100
[13:44] Primitive: 100.000200
[13:44] Primitive: 100.000100
[13:44] Primitive: 100.000200
[13:44] Primitive: 100.000100
[13:44] Primitive: 100.000100
[13:44] Primitive: 100.000200
That's a near-perfect clock.
Times in milliseconds.
MinTimerInterval = 0.05
Is there anything we can do to make MONO less crappy?
-- Jeff
More information about the Opensim-dev
mailing list