WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
252176
[css-nesting] Save memory when we only need old-school StyleRule (=non nested)
https://bugs.webkit.org/show_bug.cgi?id=252176
Summary
[css-nesting] Save memory when we only need old-school StyleRule (=non nested)
Matthieu Dubet
Reported
2023-02-13 09:28:52 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-02-13 09:29:10 PST
<
rdar://problem/105399781
>
Matthieu Dubet
Comment 2
2023-02-13 10:04:24 PST
Pull request:
https://github.com/WebKit/WebKit/pull/10044
EWS
Comment 3
2023-02-14 15:21:13 PST
Committed
260281@main
(9db1de406e2b): <
https://commits.webkit.org/260281@main
> Reviewed commits have been landed. Closing PR #10044 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug