[Webkit-unassigned] [Bug 57571] New: Lots of calls to computeRectForRepaint() when doing layout on cnn.com

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 31 13:24:42 PDT 2011


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

           Summary: Lots of calls to computeRectForRepaint() when doing
                    layout on cnn.com
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://cnn.com
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simon.fraser at apple.com
                CC: jamesr at chromium.org


When cnn.com does layout, there are a lot of calls to RenderBox::computeRectForRepaint(), via RenderLayer::updateLayerPositions(). It's inefficient for the following reasons:

1. We don't track whether any layers actually changed, so we may not actually have to do any work
2. We're walking down the RenderLayer tree, but for each layer walking back up the renderers doing computeRectForRepaint(), so it's > O(N)

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