-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Open
Labels
Description
zstd --ultra -22 generates smaller files than xz and decompresses an order of magnitude faster, is there any reason not to use zstd? I re-compress releases with zstd for my team to save them time when extracting, but it would be nice if the releases where natively compressed using zstd.
1577mb LLVM-19.1.7-Linux-X64.tar.xz
1401mb LLVM-19.1.7-Linux-X64.tar.zst
1349mb LLVM-19.1.7-macOS-ARM64.tar.xz
1181mb LLVM-19.1.7-macOS-ARM64.tar.zst
1502mb LLVM-19.1.7-macOS-X64.tar.xz
1270mb LLVM-19.1.7-macOS-X64.tar.zst
% time xzcat LLVM-19.1.7-macOS-X64.tar.xz > /dev/null
xzcat LLVM-19.1.7-macOS-X64.tar.xz > /dev/null 108.58s user 0.70s system 99% cpu 1:49.30 total
% time zstdcat LLVM-19.1.7-macOS-X64.tar.zst > /dev/null
zstdcat LLVM-19.1.7-macOS-X64.tar.zst > /dev/null 9.89s user 0.41s system 99% cpu 10.303 total