Closed Bug 1981777 Opened 5 months ago Closed 5 months ago

Only compress Linux builds with xz parameters optimizing for binary size for shippable builds

Categories

(Release Engineering :: General, task)

Tracking

(firefox143 fixed)

RESOLVED FIXED
Tracking Status
firefox143 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 file)

A Linux artifact build job on try spends a large proportion of its time in xz --compress --stdout -9 --extreme (https://share.firefox.dev/4fuo6yr shows 1min38 out of a 3min51 build job).

The target.tar.xz file weights 82.7MB.

With the -9 --extreme parameters removed (https://share.firefox.dev/40XWQ5k), the xz --compress --stdout command now takes 18.4s (out of a 2min46 build job). The target.tar.xz file weights 85.2MB. I think that's a good tradeoff for non-shippable builds.

The profiles in my try push confirm the patch is working as expected:

Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/2a05368e5cc6 https://hg.mozilla.org/integration/autoland/rev/04ad70684b7a Only compress Linux builds with xz parameters optimizing for binary size for shippable builds, r=firefox-build-system-reviewers,nalexander.
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED

as a datapoint, this increased the Linux64 non-shippable installer size by 2.9MB

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: