[Webkit-unassigned] [Bug 51460] New: Cache parsed CSS values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 22 05:10:58 PST 2010


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

           Summary: Cache parsed CSS values
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: serya at chromium.org


Each time a new values is set to a property of CSSMutableStyleDeclaration it's string is parsed to an array of CSSProperty objects. Same values are frequently assigned to sets of objects. Caching parsed values eliminates repeating this work.

This change gives ~13% boost in Dromaeo DOM Style (Prototype) (before - http://dromaeo.com/?id=126287,126288,126289 after - http://dromaeo.com/?id=126292,126293,126294).

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