6.86 - 3.25% speedometer3 NewsSite-Nuxt/NavigateToWorld/Sync / speedometer3 NewsSite-Nuxt/NavigateToWorld/total + 2 more (Linux) regression on Fri January 30 2026
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox147 | --- | unaffected |
| firefox148 | --- | unaffected |
| firefox149 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: emilio)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: perf, perf-alert, regression)
Attachments
(1 external file)
Perfherder has detected a browsertime performance regression from push a182612732565736a6065f7d5bf153c52e501d50. As author of one of the patches included in that push, we need your help to address this regression.
Please acknowledge, and begin investigating this alert within 3 business days, or the patch(es) may be backed out in accordance with our regression policy.
| Regression | Test | Platform | Options | Absolute values [old vs new] | Performance Profiles |
|---|---|---|---|---|---|
| 7% | speedometer3 NewsSite-Nuxt/NavigateToWorld/Sync (doc) | linux1804-64-shippable-qr | fission webrender | 28.66 ms -> 30.62 ms | Before/After |
| 6% | speedometer3 NewsSite-Nuxt/NavigateToWorld/Sync (doc) | linux1804-64-shippable-qr | fission webrender | 28.66 -> 30.35 | Before/After |
| 3% | speedometer3 NewsSite-Nuxt/total (doc) | linux1804-64-shippable-qr | fission webrender | 201.72 -> 208.46 | Before/After |
| 3% | speedometer3 NewsSite-Nuxt/NavigateToWorld/total (doc) | linux1804-64-shippable-qr | fission webrender | 63.30 ms -> 65.36 ms |
Support & Actionable Steps
For questions, please contact fbilt@mozilla.com. You can also find help on Slack (#perf-help) or Matrix (#perftest).
Action guide details:
- See the guide to handling regression bugs for investigation steps.
- Review the alert summary for affected tests, graphs, and comparisons.
- Check the PerfCompare results.
- Tests on Try: Run all tests using
./mach try perf --alert 48402(See documentation link for details). - Profiling jobs: Trigger jobs from Treeherder job view or request them from fbilt@mozilla.com.
Comment 1•10 months ago
|
||
Set release status flags based on info from the regressing bug 2013141
| Assignee | ||
Comment 2•10 months ago
|
||
Huh, that's rather surprising. Digging.
| Assignee | ||
Comment 3•10 months ago
|
||
First commit: https://perf.compare/compare-lando-results?baseLando=177135&newLando=177136&baseRepo=try&newRepo=try&framework=13
Second: https://perf.compare/compare-lando-results?baseLando=177135&newLando=177137&baseRepo=try&newRepo=try&framework=13
Third: https://perf.compare/compare-lando-results?baseLando=177135&newLando=177138&baseRepo=try&newRepo=try&framework=13
| Assignee | ||
Comment 4•10 months ago
|
||
(the other ones are less likely to cause issues IMHO)
| Assignee | ||
Comment 5•10 months ago
|
||
A bit odd this is linux only too...
| Assignee | ||
Comment 6•10 months ago
|
||
So it seems the second patch (https://hg-edge.mozilla.org/integration/autoland/rev/d1c89233cc2fc27e3bad2047e578fe1bae7f9498) is what effectively changed the performance characteristics here, but I'm a bit confused as to why / how. I guess I did change the shorthand order (expansion of the all property), technically, but it shouldn't matter in practice, and it should only show up during serialization...
The other different things are:
fn parse_valueused to be private for auto-generated shorthands and now isn't. I don't know if that might change inlining decisions? but that shouldn't matter that much in practice I don't think...- Stuff lives now in a generated and non-generated module, instead that all-in-one. But that also shouldn't matter, it's all in the same crate...
Looking at the profiles, I don't see anything interesting (very few samples in shorthand parsing and serialization), so I'm a bit at a loss here... Markus, is there any chance you could do a comparison report to try to narrow this down? Otherwise I guess I can try to manually bisect the properties...
Here's a try run with some other minor nits that I noticed but I doubt they would move the needle: https://perf.compare/compare-lando-results?baseLando=178324&newLando=178325&baseRepo=try&newRepo=try&framework=13
| Assignee | ||
Comment 7•10 months ago
|
||
My other wild guess was something to do with symbol names / something along those lines (since the new generated module has a longer name and so on), but that would be rather wild... Still weird that this is somehow platform-specific.
Comment 8•9 months ago
|
||
It has been over 7 days with no activity on this performance regression.
:emilio, since you are the author of the regressor, bug 2013141, which triggered this performance alert, could you please provide a progress update?
If this regression is something that fixes a bug, changes the baseline of the regression metrics, or otherwise will not be fixed, please consider closing it as WONTFIX. See this documentation for more information on how to handle regressions.
For additional information/help, please needinfo the performance sheriff who filed this alert (they can be found in comment #0), or reach out in #perftest, or #perfsheriffs on Element.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 9•9 months ago
•
|
||
Try with the shorthand order restored: https://perf.compare/compare-lando-results?baseLando=180129&newLando=180130&baseRepo=try&newRepo=try&framework=13
Try with parse_value always inlined: https://perf.compare/compare-lando-results?baseLando=180129&newLando=180131&baseRepo=try&newRepo=try&framework=13
| Assignee | ||
Comment 10•9 months ago
|
||
| Assignee | ||
Comment 11•9 months ago
|
||
Nothing there seems to have helped actually... Pushing a revert just to sanity-check that's the culprit again: https://perf.compare/compare-lando-results?baseLando=180129&newLando=180250&baseRepo=try&newRepo=try&framework=13
| Assignee | ||
Comment 12•9 months ago
|
||
Ok so at least I'm not going mad, the revert doesn't help either. Looking at comment 3 more carefully, it seems the regression might've been on the first commit after all... That's maybe a bit less surprising, and gives me a bit more to look into...
| Assignee | ||
Comment 13•9 months ago
|
||
https://perf.compare/compare-lando-results?baseLando=180132&newLando=180318&baseRepo=try&newRepo=try&framework=13 is something I noticed thanks to Denis' profiles on Matrix.
Other things that I see:
- My patch technically changed the code generation order. But then follow-ups have shifted it again to the previous order and that didn't help.
- It seems computed style diffing from transitions is taking most of the time. In the good build,
AnimationValue::from_computed_valuesdidn't seem to get inlined, and in the bad one does.
Denis mentioned that we might be restyling more often but afaict I don't see it locally (two profiles on nightly and release show the same amount of restyling, just slower on nightly).
Here's a few more tries:
- Force from_computed_values to be out of line: https://perf.compare/compare-lando-results?baseLando=180132&newLando=180318&baseRepo=try&newRepo=try&framework=13
- Specialize the diff we want for transitions: https://perf.compare/compare-lando-results?baseLando=180132&newLando=180324&baseRepo=try&newRepo=try&framework=13
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 14•9 months ago
|
||
The regressing bug somehow slowed down needs_transition_update
significantly. It's still not super-clear to me why this would be the
case (it seems like the compiler made wildly different optimization
decisions).
In any case, this code seems very hot in this speedometer subsuite, and
thus is likely worth specializing. We can diff computed values much
faster.
There's some extra optimizations here (in particular avoiding some
copies), but I want to do that separately since we have that issue in
other places and now that we have better metadata we can easily
specialize them.
Comment 15•9 months ago
|
||
Comment 16•9 months ago
|
||
Seems to have brought the numbers to pre-regression levels
Backfill pending
Comment 17•9 months ago
|
||
| bugherder | ||
Updated•9 months ago
|
Comment 18•9 months ago
|
||
(In reply to Pulsebot from comment #15)
Pushed by ealvarez@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/60353d93a6df
https://hg.mozilla.org/integration/autoland/rev/55b50619c45b
Speed up transition property diffing.
r=firefox-style-system-reviewers,layout-reviewers,dshin
Perfherder has detected a browsertime performance change from push 55b50619c45b8553b48faf1a63e919735b8494ee.
No action is required from the author; this comment is provided for informational purposes only.
| Improvements | Test | Platform | Options | Absolute values [old vs new] | Performance Profiles |
|---|---|---|---|---|---|
| 7% | speedometer3 NewsSite-Nuxt/NavigateToWorld/Sync (doc) | linux1804-64-shippable-qr | fission webrender | 31.02 ms -> 28.91 ms | Before/After |
| 6% | speedometer3 NewsSite-Nuxt/NavigateToPolitics/Sync (doc) | linux1804-64-shippable-qr | fission webrender | 30.69 ms -> 28.94 ms | Before/After |
| 5% | speedometer3 NewsSite-Nuxt/NavigateToWorld/Sync (doc) | linux1804-64-shippable-qr | fission webrender | 30.84 ms -> 29.28 ms | Before/After |
| 5% | speedometer3 NewsSite-Nuxt/NavigateToWorld/Sync (doc) | macosx1500-aarch64-shippable | fission webrender | 4.51 ms -> 4.28 ms | Before/After |
| 5% | speedometer3 NewsSite-Nuxt/NavigateToPolitics/Sync (doc) | macosx1500-aarch64-shippable | fission webrender | 4.58 ms -> 4.36 ms | Before/After |
| ... | ... | ... | ... | ... | ... |
| 2% | speedometer3 NewsSite-Next/total (doc) | macosx1500-aarch64-shippable | fission webrender | 51.06 ms -> 49.95 ms | Before/After |
Need Help or Information?
If you have any questions, please reach out to afinder@mozilla.com. Alternatively, you can find help on Slack by joining #perf-help, and on Matrix you can find help by joining #perftest.
Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.
Description
•