W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

Re: Mutation events replacement

From: James Robinson <jamesr@google.com>
Date: Thu, 30 Jun 2011 13:45:42 -0700
Message-ID: <CAD73mdLmnPqzTLYT_WzoH6DNteaxS4suW1zZ0o19FqzAxNc5jA@mail.gmail.com>
To: David Flanagan <dflanagan@mozilla.com>
Cc: public-webapps@w3.org
On Thu, Jun 30, 2011 at 1:15 PM, David Flanagan <dflanagan@mozilla.com>wrote:

>> This is actually a pretty hard problem to solve, and still wouldn't really
>> solve the performance issues for DOM events....
> Still better than current DOM Mutation event, though right?  Are you saying
> that synchronous callbacks on a readonly tree would have worse performance
> than Jonas's and Olli's proposal?

I suspect, although I have not measured, than entering/leaving the JS vm
every time an attribute was modified or a node was creating would have
significantly higher overhead than batching up the calls to happen later.
 Consider generating a large amount of DOM by setting innerHTML.

- James

>  -Boris
>>     David
Received on Thursday, 30 June 2011 20:46:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:20 UTC