9.74% fandom fcp (Windows) regression on Tue September 1 2026
Categories
(Remote Protocol :: Agent, defect, P3)
Tracking
(firefox-esr140 unaffected, firefox-esr153 unaffected, firefox155 unaffected, firefox156 unaffected, firefox157 wontfix, firefox158 fix-optional, firefox159 fix-optional)
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox-esr153 | --- | unaffected |
| firefox155 | --- | unaffected |
| firefox156 | --- | unaffected |
| firefox157 | --- | wontfix |
| firefox158 | --- | fix-optional |
| firefox159 | --- | fix-optional |
People
(Reporter: performance-sheriff-bot, Assigned: jdescottes)
References
(Regression)
Details
(Keywords: perf, perf-alert, regression, Whiteboard: [webdriver:m21])
Perfherder has detected a browsertime performance regression from push 9d9d5b041fac70cd30fe0b94aaca7024d93a06a0. 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 |
|---|---|---|---|---|---|
| 10% | fandom fcp (doc) | windows11-64-24h2-shippable | fission warm webrender | 22.84 -> 25.07 | Before/After |
Support & Actionable Steps
For questions, please contact aesanu@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 52565(See documentation link for details). - Test locally: To run the tests locally use
./mach perftest 52565 - Profiling jobs: Trigger jobs from Treeherder job view or request them from aesanu@mozilla.com.
Comment 1•2 months ago
|
||
Set release status flags based on info from the regressing bug 2066531
| Assignee | ||
Comment 2•2 months ago
|
||
Investigating. Before that patch we were never restoring the remote preferences on shutdown.
Given that this is a first contentful paint measure, I can't imagine that it is impacted by the fact that we are handling the preference cleanup in an earlier phase.
Before the fix, for each iteration, the browser would restart with the Recommended Preferences already applied, and during the test the browser restarts 25 times. I suspect this is related to a specific preference which must have a side effect if it's not set before startup and updated dynamically.
In any case this regression can not impact actual end users, but I have pushes in progress to start identifying which pref might be responsible for the difference.
| Assignee | ||
Comment 3•2 months ago
•
|
||
This might be hard to investigate. I am not sure to really reproduce the issue on try so far. There is a small ~3/4% difference but which might just be due to a low number of retriggers. I spawned a few more we will see if there is any clear difference between the pushes.
The results are also quite notably "better" than the current autoland results. They actually are in the range of the pre-alert results. Not sure what is going on here.
| Assignee | ||
Comment 4•2 months ago
•
|
||
For other test suites (eg mochitests) we disable the Recommended Preferences and let each suite decide which prefs it needs to set.
Example for mochitests: https://searchfox.org/firefox-main/rev/93ba10a0a6e4ef012b47d033748f4b7bc317f541/testing/profiles/unittest-required/user.js#157-160
// Disable all recommended Remote Protocol preferences for Gecko tests.
// The prefs recommended by Remote Protocol are typically geared towards
// consumer automation; not vendor testing.
user_pref("remote.prefs.recommended", false);
It's a bit annoying because it leads to duplicate some values (eg all the preferences to disable network access), but at least it shields those test suites from the Recommended Prefs machinery.
This is also used for reftests: https://searchfox.org/firefox-main/rev/93ba10a0a6e4ef012b47d033748f4b7bc317f541/testing/profiles/reftest/user.js#90
user_pref("remote.prefs.recommended", false);
So I wonder if we should do the same for performance tests? I can try to hunt down the specific preference which triggered the bump here, but it's important to realize that this is only noise which is irrelevant for the real performance of the browser.
From my try pushes, only 3 attempts seem to recover the issue (again the signal is weaker on try):
- reverting the patch
- stop restoring preferences
- set all preferences before startup in testing/profiles/raptor/user.js
Henrik, what do you think, should we stop using RecommendedPrefs for performance tests, or is there a good reason to keep doing this?
Comment 5•2 months ago
|
||
Most likely we should give the harness the opportunity to define all the default settings that should be used for performance tests given that some features might indeed have an effect on performance as we can see here. Overall this would give an as close as possible experience as normal users would see.
Given that browsertime is used, which uses geckodriver and as such by default uses the recommended preferences, I wonder if we can tweak it that easily so it will not apply the recommended preferences. If that works fine I think that this would be a good move.
Greg, what do you think about that?
Comment 6•2 months ago
|
||
I think setting this to false makes sense given that it would be more realistic, but I'm curious about which of the prefs triggered this regression. I did a local check to see the differences and have this list of prefs being set by geckodriver and not raptor (not fully verified):
browser.newtabpage.activity-stream.asrouter.providers.cfr-fxa = "null"
browser.newtabpage.activity-stream.asrouter.providers.snippets = "null"
browser.newtabpage.activity-stream.asrouter.providers.whats-new-panel = "null"
browser.newtabpage.activity-stream.feeds.snippets = false
browser.startup.homepage_override.mstone = "ignore"
browser.startup.page = 0
browser.uitour.enabled = false
browser.webapps.checkForUpdates = 0
datareporting.healthreport.logging.consoleEnabled = false
datareporting.healthreport.service.enabled = false
datareporting.healthreport.service.firstRun = false
datareporting.healthreport.uploadEnabled = false
datareporting.policy.dataSubmissionEnabled = false
dom.ipc.reportProcessHangs = false
extensions.installDistroAddons = false
focusmanager.testmode = true
geo.provider.testing = true
geo.wifi.scan = false
hangmonitor.timeout = 0
media.sanity-test.disabled = true
network.manage-offline-status = false
network.sntp.pools = "%(server)s"
toolkit.startup.max_resumed_crashes = -1
:jcristau, can you do a big try run for browsertime tests to see if any failures pop up when you set the remote.prefs.recommended to false? If there aren't any new intermittents/permas then this should be fine. There are some prefs in that list though that look like things we'd want to keep for test stability though.
Comment 7•2 months ago
|
||
Whoops, read the wrong name sorry :jcristau!
:jdescottes, see previous comment.
Updated•2 months ago
|
Comment 8•2 months ago
|
||
Set release status flags based on info from the regressing bug 2066531
| Assignee | ||
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Comment 9•2 months ago
|
||
(In reply to Greg Mierzwinski [:sparky] from comment #6)
I think setting this to false makes sense given that it would be more realistic, but I'm curious about which of the prefs triggered this regression. I did a local check to see the differences and have this list of prefs being set by geckodriver and not raptor (not fully verified):
browser.newtabpage.activity-stream.asrouter.providers.cfr-fxa = "null" browser.newtabpage.activity-stream.asrouter.providers.snippets = "null" browser.newtabpage.activity-stream.asrouter.providers.whats-new-panel = "null" browser.newtabpage.activity-stream.feeds.snippets = false browser.startup.homepage_override.mstone = "ignore" browser.startup.page = 0 browser.uitour.enabled = false browser.webapps.checkForUpdates = 0 datareporting.healthreport.logging.consoleEnabled = false datareporting.healthreport.service.enabled = false datareporting.healthreport.service.firstRun = false datareporting.healthreport.uploadEnabled = false datareporting.policy.dataSubmissionEnabled = false dom.ipc.reportProcessHangs = false extensions.installDistroAddons = false focusmanager.testmode = true geo.provider.testing = true geo.wifi.scan = false hangmonitor.timeout = 0 media.sanity-test.disabled = true network.manage-offline-status = false network.sntp.pools = "%(server)s" toolkit.startup.max_resumed_crashes = -1:jcristau, can you do a big try run for browsertime tests to see if any failures pop up when you set the remote.prefs.recommended to false? If there aren't any new intermittents/permas then this should be fine. There are some prefs in that list though that look like things we'd want to keep for test stability though.
I suspect we should still set a few preferences from RecommendedPrefs, eg all the ones which prevent random network usage, which can definitely hurt test stability. I have a few try pushes in progress, both to check the if disabling recommended prefs works fine, but also to find which pref is hurting us here.
Maybe on the remote side we should consider having a pref to only apply the prefs related to network. We are regularly tuning those preferences to silence new services which hit the network, so keeping that logic in a centralized spot could make sense.
| Assignee | ||
Comment 10•2 months ago
|
||
Sanity browsertime try pushes around disabling recommended preferences:
- recommended=false, no other preference added : https://treeherder.mozilla.org/jobs?repo=try&revision=28c248d0352861e1c8a6c1b8e470df2c365bf046 : espn, upload-h2 and upload-h3 permafailing (still in progress)
- recommended=false + some preferences moved to raptor's user.js: https://treeherder.mozilla.org/jobs?repo=try&revision=b6f96a933381ee9e12013b5560602a80ed0c4a62 : still early in the job but doesn't seem to have the same permafails
Thinking more about this I feel like any massive change in the preference set applied to those tests risks triggering more changes in performance test results. I think whatever we land here should try to be as fine grained as possible, and leave the rest to a followup.
Comment 11•2 months ago
|
||
Set release status flags based on info from the regressing bug 2066531
Updated•2 months ago
|
| Assignee | ||
Comment 12•2 months ago
|
||
I didn't update here because my try pushes have been very hard to read. I already said in comment 3 that I could not get results consistent with the perf alert on try.
Doing more tests with various preferences, I get very inconsistent results as well. While I think we can safely disable recommended prefs as long as we set a few preferences explicitly to disable features which hit the network, but I can't tell if that will really have a visible impact on performance.
Comment 13•2 months ago
|
||
I wonder about the impact of my patch as landed on bug 2074275 last Thursday. Do we see some changes over the last couple of days?
| Assignee | ||
Comment 14•2 months ago
|
||
(In reply to Henrik Skupin [:whimboo][⌚️UTC+2] from comment #13)
I wonder about the impact of my patch as landed on bug 2074275 last Thursday. Do we see some changes over the last couple of days?
Doesn’t seem to have any impact (it would have been surprising honestly, as long as we are restoring the prefs, I expect the perf hit to be consistent)
| Assignee | ||
Comment 15•1 month ago
|
||
I propose to close this one as wontfix, because none of the try pushes I have are clearly indicating an improvement. Let's disable recommended preferences for raptor in any case in Bug 2080768.
Description
•