[Webkit-unassigned] [Bug 216241] New: Comparing styles with large but equal custom property maps is slow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 7 04:27:54 PDT 2020


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

            Bug ID: 216241
           Summary: Comparing styles with large but equal custom property
                    maps is slow
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: koivisto at iki.fi

In full style rebuild we lose sharing of equal StyleCustomPropertyData between the old and the new style. Custom properties are usually defined in document element and this lack of sharing inherits to all elements. Without sharing equality comparisons end up requiring deep comparison, which can be slow if there are thousands of properties.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200907/663191b7/attachment-0001.htm>


More information about the webkit-unassigned mailing list