measured head-to-head - structured data classes - byte-exact SHA-256 verified
All numbers measured on this server, roundtrip-verified SHA-256 byte-exact. Proofs available on request.
| Input | zstd-19 / --long | Pedulli (best-of-N) | Δ |
|---|---|---|---|
| 1 MiB of zeros | 43 B | 13 B | much smaller (redundant input) |
| 1 MiB periodic binary | 1,872 B | 436 B | -77% |
| Apache logs 3.5 MB | 240 KB | 217 KB | -9.5% |
| JSON 31 KB | 2,801 B | 1,265 B | -54.8% |
| HTML 161 KB | 41,288 B | 38,757 B | -6.1% |
| MP4 master 10 MB | 9,481,772 B | 9,430,108 B | -51 KB |
| Random bytes 1 MB | 1,048,589 B (+13 B) | 1,048,577 B (+1 B) | 12 B less overhead |
Use zstd when throughput dominates (kernel-level, btrfs, ZFS, RPC compression) and ratio is secondary. Use Pedulli when ratio matters: log archives, JSON/XML telemetry, HTML/JS bundles, video masters, backups - plus the per-file +1 byte never-worse floor.