29.24 - 8.54% background-resource rss-tab-start + 23 more (Android) regression on Wed November 18 2026
Categories
(Core :: IPC, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr153 | --- | unaffected |
| firefox161 | --- | unaffected |
| firefox162 | --- | wontfix |
| firefox163 | --- | fixed |
People
(Reporter: performance-sheriff-bot, Assigned: nika)
References
Details
(Keywords: perf, perf-alert, regression)
Attachments
(1 external file)
Perfherder has detected a mozperftest performance regression from push fdd1934ee4ea471aac81e996177d0a52a4d90c46. 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] |
|---|---|---|---|---|
| 29% | background-resource rss-tab-start | android-hw-a55-14-0-aarch64-shippable | 573,590.00 Kb -> 741,284.33 Kb | |
| 29% | background-resource rss-tab-50% | android-hw-a55-14-0-aarch64-shippable | 576,324.00 Kb -> 744,251.67 Kb | |
| 29% | background-resource rss-tab-10% | android-hw-a55-14-0-aarch64-shippable | 575,737.67 Kb -> 743,404.00 Kb | |
| 28% | background-resource rss-tab-end | android-hw-a55-14-0-aarch64-shippable | 576,740.00 Kb -> 740,502.67 Kb | |
| 23% | foreground-resource rss-tab-end | android-hw-a55-14-0-aarch64-shippable | 740,262.33 Kb -> 908,230.67 Kb | |
| 23% | foreground-resource rss-tab-50% | android-hw-a55-14-0-aarch64-shippable | 741,132.33 Kb -> 908,088.33 Kb | |
| 22% | foreground-resource rss-tab-10% | android-hw-a55-14-0-aarch64-shippable | 747,570.67 Kb -> 913,469.67 Kb | |
| 22% | foreground-resource rss-tab-start | android-hw-a55-14-0-aarch64-shippable | 748,165.00 Kb -> 913,633.67 Kb | |
| 18% | background-resource pss-tab-10% | android-hw-a55-14-0-aarch64-shippable | 132,763.25 Kb -> 156,213.67 Kb | |
| 18% | background-resource pss-tab-50% | android-hw-a55-14-0-aarch64-shippable | 132,780.08 Kb -> 156,151.92 Kb | |
| ... | ... | ... | ... | ... |
| 11% | background-resource rss-total-10% | android-hw-a55-14-0-aarch64-shippable | 1,585,892.33 Kb -> 1,760,744.33 Kb | |
| 9% | foreground-resource rss-total-end | android-hw-a55-14-0-aarch64-shippable | 1,854,069.17 Kb -> 2,019,749.67 Kb | |
| 9% | foreground-resource rss-total-start | android-hw-a55-14-0-aarch64-shippable | 1,901,434.83 Kb -> 2,071,454.00 Kb | |
| 9% | foreground-resource rss-total-50% | android-hw-a55-14-0-aarch64-shippable | 1,859,493.83 Kb -> 2,023,289.67 Kb | |
| 9% | foreground-resource rss-total-10% | android-hw-a55-14-0-aarch64-shippable | 1,871,097.00 Kb -> 2,030,953.33 Kb |
| Improvement | Test | Platform | Options | Absolute values [old vs new] |
|---|---|---|---|---|
| 4% | background-resource pss-rdd-50% | android-hw-a55-14-0-aarch64-shippable | 20,575.42 Kb -> 19,802.17 Kb | |
| 4% | background-resource pss-rdd-start | android-hw-a55-14-0-aarch64-shippable | 20,541.71 Kb -> 19,775.00 Kb | |
| 4% | background-resource pss-rdd-10% | android-hw-a55-14-0-aarch64-shippable | 20,540.79 Kb -> 19,776.58 Kb |
Support & Actionable Steps
For questions, please contact acseh@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 54636(See documentation link for details). - Test locally: To run the tests locally use
./mach perftest 54636 - Profiling jobs: Trigger jobs from Treeherder job view or request them from acseh@mozilla.com.
Updated•14 days ago
|
| Assignee | ||
Comment 1•14 days ago
|
||
I believe the cause here is that the addition of forced COOP for privilegedabout processes is causing us to start a new process, as we now change BCGs. Previously, loading about:blank -> about:home -> someWebsite would reuse the web process for about:blank and someWebsite, while loading about:home in privilegedabout. However after this change, there's nothing forcing the re-use. This normally wouldn't cause an issue (we'd re-use the empty web process), but some background GeckoSession re-uses the about:blank's web process while about:home is loaded, leading to the someWebsite load starting an extra content process.
Normally basically every navigation acts like a COOP navigation, however we don't allow adding about:home to the BFCache, which I believe is the source of the difference here.
TBH I don't see why about:home needs to be in privilegedabout on android. We don't actually render the home page UI with Gecko on Android (that's handled by the embedder), so it's just a placeholder in session history and could be loaded in a generic web content process. I think this would save 2 content processes, as we both wouldn't have the privilegedabout process, and wouldn't have the extra web process as we would not trigger COOP/BFCache.
I'll post a patch to change about:home to not be marked to load in privilegedabout on Android anymore, and see if it fixes it (perf run: https://perf.compare/compare-lando-results?landoInstance=lando-prod-2025&baseLando=123500&newLando=123501&baseRepo=try&newRepo=try&framework=15)
| Assignee | ||
Comment 2•14 days ago
|
||
This appears to have been copied from Desktop in bug 1962312. On Desktop
it's important to isolate about:home as it has special privileges due
to being the newtab page, but on Android, it's just an empty placeholder
document used to reserve a spot in session history.
Removing this isolation should reduce the number of unnecessary content
processes started on Android, as a normal user is unlikely to start a
privilegedabout process.
Updated•14 days ago
|
| Assignee | ||
Comment 3•13 days ago
|
||
The perf results look good, it seems like this reduces the number of processes loaded in the test case back down, and saves the corresponding amount of RSS.
Updated•11 days ago
|
Updated•11 days ago
|
Comment 5•10 days ago
|
||
| bugherder | ||
Comment 6•10 days ago
|
||
The patch landed in nightly and beta is affected.
:nika, please make an uplift decision for beta:
- For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set
status-firefox162towontfixif the fix can wait for the next release.
Uplift requests can be submitted from Lando: D344716.
See Requesting an Uplift for documentation on how to request an uplift.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 7•9 days ago
|
||
As this is mostly only a CI regression, and an improvement in practice, I'm not planning to uplift to beta.
Updated•9 days ago
|
Description
•