[Webkit-unassigned] [Bug 87034] New: treeScope() is too slow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 21 11:33:37 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=87034

           Summary: treeScope() is too slow
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: koivisto at iki.fi, dglazkov at chromium.org,
                    dominicc at chromium.org, kling at webkit.org,
                    morrita at google.com, haraken at chromium.org
            Blocks: 63606


We spend roughly 8% of time in treeScope() while loading https://bugs.webkit.org/attachment.cgi?id=142634&action=review
because treeScope() uses rareData(), which uses HashMap lookup.

Not only that, this method appeared on almost every single profiling I did with DOM methods.
We need to make treeScope() O(1).

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



More information about the webkit-unassigned mailing list