Closed
Bug 1845731
Opened 2 years ago
Closed 2 years ago
Cache StyleRule desugaredSelectors
Categories
(DevTools :: Inspector: Rules, task)
DevTools
Inspector: Rules
Tracking
(firefox117 fixed, firefox118 fixed)
RESOLVED
FIXED
118 Branch
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
Computing desugared selectors can be costly when dealing with deeply nested rule, so cache the result so we don't re-compute it when it's not needed
| Assignee | ||
Comment 1•2 years ago
|
||
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9fdb9e7f3c3e
[devtools] Cache StyleRule desugared selectors. r=devtools-reviewers,jdescottes.
Comment 3•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox118:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
| Assignee | ||
Comment 4•2 years ago
|
||
Comment on attachment 9346063 [details]
Bug 1845731 - [devtools] Cache StyleRule desugared selectors. r=#devtools-reviewers.
Beta/Release Uplift Approval Request
- User impact if declined: very slow devtools performance on some pages
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): DevTools only fix, simple caching mechanism
- String changes made/needed:
- Is Android affected?: No
Attachment #9346063 -
Flags: approval-mozilla-beta?
Comment 5•2 years ago
|
||
Comment on attachment 9346063 [details]
Bug 1845731 - [devtools] Cache StyleRule desugared selectors. r=#devtools-reviewers.
Approved for 117.0b6
Attachment #9346063 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•2 years ago
|
status-firefox117:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•