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 | pbzip2 -9 | Pedulli (best-of-N) | Δ |
|---|---|---|---|
| 1 MiB of zeros | 47 B | 13 B | smaller (redundant input) |
| JSON 31 KB | 2,937 B | 1,265 B | -56.9% |
| HTML 161 KB | 37,210 B | 37,210 B | tie (best-of-N selects the equal best) |
| MP4 master 10 MB | 9,789,123 B | 9,430,108 B | -359 KB |
| Random bytes 1 MB | 1,048,620 B (+44 B) | 1,048,577 B (+1 B) | 43 B less overhead |
Use pbzip2 when you have many cores, want maximum multi-core wall-clock throughput, and bit-compatible bzip2 output is mandatory. Use Pedulli whenever ratio matters: it races xz, zstd, brotli and your data's SRD math and keeps the smallest verified output, so it is never larger than the best standard codec it races, with a per-file +1 byte never-worse floor on its own output.