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

Re: Mutation events

From: mikewse <mikewse@hotmail.com>
Date: Mon, 4 May 2009 14:06:33 -0700 (PDT)
Message-ID: <23376701.post@talk.nabble.com>
To: www-dom@w3.org

[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 GMT

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