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

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 UTC