cool-easter-32542
11/22/2023, 10:51 AMpex_binary targets for large ML packages, the zip time can easily dominate the whole runtime. This is fine when shipping out the pex as is, but when using it for run, debugging, or immediately unpacking into a container, it's wasted effort. For example,
pantsbuild/pex#2292
#20205
Describe the solution you'd like
Would wrap the following pex option:
--compress, --compressed, --no-compress, --not-compressed, --no-compression
Whether to compress zip entries when creating either a
zipapp PEX file or a packed PEX's bootstrap and
dependency zip files. Does nothing for loose layout
PEXes. (default: True)
This would be exposed on the `pex_binaries`/`pex_binary` target.
Additional context
I'm planning to do this work, just filing an issue to have it tracked.
pantsbuild/pants