Closed Bug 1656823 Opened 6 years ago Closed 6 years ago

0.23 - 0.29% installer size (osx-cross, osx-shippable) regression on push ef4f81977f92ad19cef2eb8f5e73fa280bd3fd4d (Fri July 31 2020)

Categories

(Core :: JavaScript: WebAssembly, defect)

Firefox 81
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox79 --- unaffected
firefox80 --- unaffected
firefox81 --- fix-optional

People

(Reporter: alexandrui, Unassigned)

References

(Regression)

Details

(Keywords: perf-alert, regression)

Perfherder has detected a build_metrics performance regression from push ef4f81977f92ad19cef2eb8f5e73fa280bd3fd4d. As author of one of the patches included in that push, we need your help to address this regression.

Regressions:

0.29% installer size osx-shippable opt instrumented 112,396,827.50 -> 112,724,888.75
0.24% installer size osx-shippable opt nightly 80,144,212.08 -> 80,333,423.25
0.23% installer size osx-cross opt 79,248,849.17 -> 79,434,284.50

Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests. Please follow our guide to handling regression bugs and let us know your plans within 3 business days, or the offending patch(es) will be backed out in accordance with our regression policy.

For more information on performance sheriffing please see our FAQ.

Flags: needinfo?(bbouvier)
Component: Performance → Javascript: WebAssembly
Product: Testing → Core

Hi :alexandrui, :bbouvier is on PTO for two weeks; I'm happy to be the contact for this bug.

I don't have an OS X system so I can't examine binary sizes directly or try to narrow down the particular aspect of this change that causes it, but it's conceivable that a slight growth could occur, because this patch does import a newer version of Cranelift that has slightly more code.

However, I'm somewhat perplexed that a ~170KB increase in binary size triggers an alert; are there guidelines for how much the binary may grow over time? Do we need to worry about slimming down Cranelift, or is there an exemption to growth-in-a-single-patch thresholds for vendoring? Thanks!

Flags: needinfo?(bbouvier)

I think that (a) if this is cranelift then we eat the cost, and it sure looks like that's the cause, and (b) cranelift is not in release, and the increase is therefore irrelevant until cranelift ships in Firefox on macOS, not likely to be until next year.

Chris, the threshold for binary sizes is 100KB. Everything that grows over this limit is a regression.

Set release status flags based on info from the regressing bug 1654813

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.