Closed Bug 1882407 Opened 9 months ago Closed 8 months ago

Stop compressing target.maven.tar.xz

Categories

(Release Engineering :: General, enhancement)

enhancement

Tracking

(firefox126 fixed)

RESOLVED FIXED
Tracking Status
firefox126 --- fixed

People

(Reporter: gbrown, Assigned: gbrown)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Geckoview builds, including the build-fat-aar builds, currently create a "maven archive" artifact as an xz-compressed tar file. For the build-fat-aar task, archive creation typically takes almost 2 minutes. An uncompressed archive can be built in just 1 second, and is less than 1% larger.

Since the applicable log times appear to be buffered, it's tricky to measure the duration of archive creation. I added some custom logging:
https://treeherder.mozilla.org/jobs?repo=try&revision=1ed78ced9125b5a7a12998d28ebfad9dc4622b0d
Bgv target.maven.tar.xz size: 261336200
Archive creation duration: 106 seconds

I tried setting the compresslevel=1:
https://treeherder.mozilla.org/jobs?repo=try&revision=f4fb430d91919a4b8ab39663d2b6eb7475fff447
Bgv target.maven.tar.xz size: 261489644
Archive creation duration: 54 seconds

And I tried removing compression entirely:
https://treeherder.mozilla.org/jobs?repo=try&revision=09061fce70a2acce290ef28d867283c209db1e2d
Bgv target.maven.tar.xz size: 262768640
Archive creation duration: 0.2 seconds

Probably worth noting that "removing compression entirely" doesn't actually remove all compression, it means the file is gzipped by docker-worker after the build completes. (Which might still be faster, but the compression time gets hidden away.)

Pushed by gbrown@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0f18d165d124 Stop compressing target.maven.tar.xz r=geckoview-reviewers,owlish,tthibaud
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: