Re: Mutation events - slowness examples

There are many ways to test mutation events.
The attachment shows one example where webkit (Chrome)
requires x2 time with the listener, but
Opera and Gecko 1x.

-Olli

On 6/6/09 7:54 PM, François REMY wrote:
> Result on my computer :
>
> Test 1 (something is done by JScript)
> IE: Not Applicable
> FireFox: 30 > 160 (x5 or +130)
> Chrome: 5 > 60 (x10 or +55)
> Opera: 15 > 45 (x3 or +30)
>
> Test 2 (nothing is done by JScript, just for comparaison)
> IE: Not Applicable
> FireFox: 30 > 80 (x3 or +50)
> Chrome: 5 > 40 (x8 or +35)
> Opera: 15 > 30 (x2 or +15)
>
> There's cleary two factors that apply :
> ==> Time needed to move from managed C++ to unmanaged JScript
> ==> Time of JScript execution
>
> These two factors are clearly dependant of the browser. In FireFox, it
> seems there's clearly a problem with that.
> Others browsers react smartly enough.
>
> Regards, Fremy
>
> --------------------------------------------------
> From: "Michael A. Puls II" <shadow2531@gmail.com>
> Sent: Saturday, June 06, 2009 3:49 PM
> To: <www-dom@w3.org>
> Subject: Mutation events - slowness examples
>
>> Are there any example pages of mutation events being really slow and
>> causing things to lag?
>>
>> Are they always slow in every browser?
>>
>> --
>> Michael
>>

Received on Sunday, 7 June 2009 14:21:26 UTC