W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2009

Re: Mutation events - slowness examples

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Sun, 07 Jun 2009 17:20:51 +0300
Message-ID: <4A2BCCC3.6060801@helsinki.fi>
To: Fran├žois REMY <fremycompany_pub@yahoo.fr>
CC: www-dom@w3.org, "Michael A. Puls II" <shadow2531@gmail.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:00 GMT