Open Bug 1818142 Opened 2 years ago Updated 2 years ago

Consider using elfshaker to reduce the size of binaries downloaded and stored

Categories

(Testing :: mozregression, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: botond, Unassigned)

Details

I recently came across manyclangs, a tool that facilitates regression window finding for the clang compiler.

Rather than downloading binaries for individual commits, manyclang uses elfshaker to download packs containing a month's worth of commits at a time, with the binaries compressed across commits to achieve a very high compression ratio ("400 GiB -> 100 MiB" in the case of clang, according to the elfshaker README).

This means a bisection can be performed with much less bandwidth required to download the binaries, and much less disk space required to store them.

It might be interesting to consider using elfshaker to achieve similar savings for Linux bisections of Firefox.

Well, I assumed from the project name that it was specific to ELF binaries, but maybe not, since the README says at https://github.com/elfshaker/elfshaker/#system-compatibility:

we aim to support all popular Linux platforms, macOS and Windows in production.

So maybe it can actually benefit all platforms.

Summary: Consider using elfshaker to reduce the size of binaries downloaded and stored for Linux bisections → Consider using elfshaker to reduce the size of binaries downloaded and stored
You need to log in before you can comment on or make changes to this bug.