[Webkit-unassigned] [Bug 62868] New: Avoid extra work in RenderStyle::visitedDependentColor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 17 09:20:26 PDT 2011


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

           Summary: Avoid extra work in RenderStyle::visitedDependentColor
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://code.google.com/p/chromium/issues/attachmentTex
                    t?id=73106&aid=541403547953126335&name=chromium-bugrep
                    ort.txt
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jchaffraix at webkit.org


The URL attached URL is a table of 22k rows. Each row has an anchor (a link to the source line for easy copyiing and pasting). When profiling the page, I found out that RenderStyle::visitedColorDependentColor is a hot function accounting for 10% to 15% of the total time. We are calling it too often but this bug is about optimizing the function itself.

Patch forthcoming.

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