Stop compressing target.maven.tar.xz
Categories
(Release Engineering :: General, enhancement)
Tracking
(firefox126 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.
Assignee | ||
Comment 1•9 months ago
|
||
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
Assignee | ||
Comment 2•9 months ago
|
||
Comment 3•9 months ago
|
||
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.)
Assignee | ||
Comment 4•8 months ago
|
||
Description
•