[Webkit-unassigned] [Bug 85004] New: Cache parsed stylesheets

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 26 13:54:32 PDT 2012


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

           Summary: Cache parsed stylesheets
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: koivisto at iki.fi


CSS parsing is ~1-3% of WebCore CPU usage on average pages, more on sites with large stylesheets. We currently reparse all stylesheets from source text when they are encountered again. In many browsing scenarios we can eliminate lot of this by caching the parsed stylesheets. For example it is very common for subpages of a site to share the stylesheets.

In the future we will also be able to share the actual data structures between pages for significant memory savings.

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