Performance regression in `StyleSheetManager._getMediaRules`
Categories
(DevTools :: Style Editor, defect, P2)
Tracking
(firefox-esr91 unaffected, firefox-esr102 unaffected, firefox104 unaffected, firefox105 unaffected, firefox106 fixed, firefox107 fixed)
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox-esr102 | --- | unaffected |
firefox104 | --- | unaffected |
firefox105 | --- | unaffected |
firefox106 | --- | fixed |
firefox107 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
Patch from Bug 1788030 caused a performance regression on the styleeditor https://treeherder.mozilla.org/perfherder/alerts?id=35326
Regressions:
Ratio | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|
14% | damp custom.styleeditor.open.DAMP | windows10-64-shippable-qr | e10s fission stylo webrender | 771.45 -> 879.01 |
13% | damp custom.styleeditor.open.DAMP | linux1804-64-shippable-qr | e10s fission stylo webrender | 801.07 -> 904.38 |
12% | damp custom.styleeditor.open.DAMP | linux1804-64-shippable-qr | e10s fission stylo webrender-sw | 789.05 -> 887.52 |
12% | damp custom.styleeditor.open.DAMP | macosx1015-64-shippable-qr | e10s fission stylo webrender-sw | 723.97 -> 812.24 |
12% | damp custom.styleeditor.open.DAMP | windows10-64-shippable-qr | e10s fission stylo webrender-sw | 785.04 -> 880.69 |
Assignee | ||
Comment 1•2 years ago
|
||
Looks like this can be reverted https://treeherder.mozilla.org/perfherder/comparesubtest?originalProject=try&newProject=try&newRevision=91cbe0e42a3be7366d347bebda0577151559f67b&originalSignature=2916453&newSignature=2916453&framework=12&originalRevision=95a58a60ccc191739dc9c9345d265eac404cc2d5&page=1
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Set release status flags based on info from the regressing bug 1788030
Assignee | ||
Comment 3•2 years ago
|
||
Comment 5•2 years ago
|
||
Backed out changeset c2224b54c672 (Bug 1790595) for causing mochitest failures on test_styles-applied.html.
Backout link
Push with failures <--> c3
Failure Log
Assignee | ||
Comment 6•2 years ago
|
||
not sure what's happening
TV jobs seem fine with the test https://treeherder.mozilla.org/jobs?repo=try&revision=e06b69265768dc19d39297f396cb12d58313fd30 , and I was able to run the whole folder without issue
Comment 8•2 years ago
|
||
bugherder |
Assignee | ||
Comment 9•2 years ago
|
||
Comment on attachment 9294427 [details]
Bug 1790595 - [devtools] Fix performance regression in _getMediaRules. r=jdescottes.
Beta/Release Uplift Approval Request
- User impact if declined: performance regression when opening DevTools StyleEditor panel
- Is this code covered by automated tests?: No
- 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 panel performance fix for a function already covered by automated tests
- String changes made/needed:
- Is Android affected?: Yes
Comment 10•2 years ago
|
||
Comment on attachment 9294427 [details]
Bug 1790595 - [devtools] Fix performance regression in _getMediaRules. r=jdescottes.
106 perf regression, LGTM, approved for 106 beta 2, thanks.
Comment 11•2 years ago
|
||
bugherder uplift |
Comment 12•2 years ago
|
||
== Change summary for alert #35431 (as of Tue, 20 Sep 2022 21:02:41 GMT) ==
Improvements:
Ratio | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|
30% | damp custom.styleeditor.reload.DAMP | windows10-64-shippable-qr | e10s fission stylo webrender-sw | 812.95 -> 571.96 |
29% | damp custom.styleeditor.open.DAMP | macosx1015-64-shippable-qr | e10s fission stylo webrender-sw | 810.23 -> 574.69 |
29% | damp custom.styleeditor.open.DAMP | macosx1015-64-shippable-qr | e10s fission stylo webrender | 808.70 -> 575.16 |
27% | damp custom.styleeditor.open.DAMP | linux1804-64-shippable-qr | e10s fission stylo webrender-sw | 882.07 -> 642.88 |
27% | damp custom.styleeditor.open.DAMP | linux1804-64-shippable-qr | e10s fission stylo webrender | 893.87 -> 653.82 |
... | ... | ... | ... | ... |
23% | damp custom.styleeditor.reload.DAMP | linux1804-64-shippable-qr | e10s fission stylo webrender | 739.50 -> 572.25 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=35431
Comment 13•2 years ago
|
||
Improvement recorded in DAMP, we are even faster than before the regression :)
Description
•