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

Re: [selectors-api] Consider backporting find() behavior to querySelector()

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 20 Jun 2012 12:05:54 -0400
Message-ID: <4FE1F4E2.90807@mit.edu>
To: public-webapps@w3.org
On 6/20/12 10:52 AM, Dave Methvin wrote:
> This test html is based on the
> msn.com <http://msn.com> home page to be representative of a big
> real-life document.

For what it's worth, that document has about 2200 DOM nodes.  That's two 
orders of magnitude smaller than "big real-life documents".  This is a 
medium-small real-life document.

Just for scale, the google.com homepage has about 500 DOM nodes.  The 
W3C homepage has about 1400 DOM nodes.  A Zimbra UI with about 200 
messages in the inbox is about 5000 nodes.  Anything that does dynamic 
UI stuff will tend to be in the 5k-50k node range.

Of course the library overhead might still kill you enough that it 
doesn't matter...

-Boris
Received on Wednesday, 20 June 2012 16:07:01 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:52 GMT