llvm-project
9f51fa4e - workflows/release-binaries: Fix zstd compression (#219587)

Commit
71 days ago
workflows/release-binaries: Fix zstd compression (#219587) 23.1.0 was the first e2e release with zstd archives. I noticed that once it shipped they didn't have a meaningful size improvement over the pre-existing archives. Turns out this is because by default zstd compresses over a 128MB window which wasn't large enough to get meaningful savings. We now use 1GB for this which uses more memory but should take the archive from the 1.8GB that the xz release is, to ~1gb. I played around with a few options and this was the best time vs compress vs memory usage ratio. Assisted-By: codex
Author
Parents
Loading