Re: Mutation events

[resurrecting an old thread]

Hi Olli,
Would it be possible to post a bit more detailed performance data? It would
be interesting to see what events have the least slow-down and what that
amounts to :-)
Best regards
Mike Wilson


Olli Pettay wrote:
> 
> Hi all,
> 
> I tested mutation events a bit.
> 
>                              | Gecko trunk | WebKit trunk | Opera 10a
> DOMAttrModified             |      X      |      -       |     X
> DOMCharacterDataModified    |      X      |      X       |     X
> DOMNodeInserted             |      X      |      X       |     X
> DOMNodeInsertedIntoDocument |      -      |      X       |     X
> DOMNodeRemoved              |      X      |      X       |     X
> DOMNodeRemovedFromDocument  |      -      |      X       |     X
> DOMSubtreeModified          |      X      |      X       |     -
> 
> Whenever mutation listeners are used, the relevant DOM operations slow
> down a lot in all browser engines. The slow down is up to 10-20x.
> 

-- 
View this message in context: http://www.nabble.com/Mutation-events-tp22456172p23376701.html
Sent from the w3.org - www-dom mailing list archive at Nabble.com.

Received on Monday, 4 May 2009 21:07:10 UTC