[Webkit-unassigned] [Bug 252176] New: [css-nesting] Save memory when we only need old-school StyleRule (=non nested)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 13 09:28:52 PST 2023


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

            Bug ID: 252176
           Summary: [css-nesting] Save memory when we only need old-school
                    StyleRule (=non nested)
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: m_dubet at apple.com

Support for CSS Nesting adds 2 members to the StyleRule class (the resolved selector list, and the list of children rules).

This creates a regression in Membuster benchmark (~2Mb). 

We should have a "happy path" where we don't pay the memory cost of the nesting feature when we don't need it.

-- 
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/20230213/d2e2240f/attachment-0001.htm>


More information about the webkit-unassigned mailing list