Open chr4 opened 1 year ago
zstd's default compress level is much faster (and normally has worse compress ratio) than orz. however your input file seems not to have much redundant, so getting a similar output size. orz should perform better on data that have more redundant, like plain texts, logs, etc.
I was super excited to see this! I'm currently looking for a fast compression alternative for
zstd
for compressing postgresql wal archives.At least for this use-case, I wasn't able to reproduce the benchmarks you've provided.
(
orz
v1.6.2 installed usingcargo install
as described in the README, also tested withcargo build --release
from currentHEAD
):Which is factor ~10 slower than
zstd
:(Platform: M1 Apple Silicon macOS (native), x86_64 Linux (musl cross-compiled)