[Webkit-unassigned] [Bug 19368] Extremely slow parsing of deeply nested divs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 3 14:06:09 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=19368





------- Comment #3 from shadow2531 at gmail.com  2008-06-03 14:06 PDT -------
(In reply to comment #2)
> (In reply to comment #0)
> > On a PIII 733MHz, Opera 9.5 (latest snapshot) and FF3 (latest trunk) take
> > around 1.5 to 2 seconds to parse.  Webkit takes ~66 seconds.
> 
> Opera 9.50 beta constructs a DOM tree only about 500 levels deep; Firefox 3.0b4
> caps at around 200.

Confirmed and it seems Webkit caps at around 1024.

What's actually happening here? document.getElementsByTagName("div").length
reports all 15840 divs.  Are they somehow flattened during parsing so they
don't run so deep?


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list