[Webkit-unassigned] [Bug 101540] New: Attached vs detached tree performance

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 7 19:39:00 PST 2012


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

           Summary: Attached vs detached tree performance
           Product: WebKit
           Version: 420+
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pdr at google.com
                CC: abarth at webkit.org


Created an attachment (id=172919)
 --> (https://bugs.webkit.org/attachment.cgi?id=172919&action=review)
Testcase showing performance badness

In the attached repro, appending a bunch of nodes to a detached element is much slower than appending a bunch of nodes to an attached element. I did a quick trace of this and it looks like the time is spent in walking the render tree (ComposedShadowTreeWalker::traverseSiblingOrBackToInsertionPoint), which doesn't seem right.

We may have some easy performance wins here.

I've attached a screenshot of the trace comparison as well (left: not detached, right: detached).

Original bug:
http://code.google.com/p/chromium/issues/detail?id=155907

-- 
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