Measured - byte-exact - 2026

Pedulli vs brotli

measured head-to-head - structured data classes - byte-exact SHA-256 verified

TL;DR - honest
Pedulli is a best-of-N racer: it races xz, zstd, brotli and your data's SRD math, then keeps the smallest verified output, always byte-exact (SHA-256 roundtrip). Because brotli is one of the coders it runs, the Orchestrator is never larger than the best standard codec (worst case +1 byte). It wins outright on structured classes (JSON, periodic, sparse); on small generic text and already-optimal/random data it simply selects the best codec - a tie at that codec's size, never a loss.

The measured table

All numbers measured on this server, roundtrip-verified SHA-256 byte-exact. Proofs available on request.

Inputbrotli -11Pedulli (best-of-N)Δ
JSON 31 KB2,510 B1,265 B-50%
Small generic text 4 KB~1.4 KB~1.4 KBtie (selects brotli)
HTML 161 KB35,705 B35,705 Btie (selects brotli)
JavaScript source 47 KB12,225 B12,225 Btie (selects brotli)
1 MiB of zeros1,036 B13 Bmuch smaller (redundant input)
1 MiB periodic binary1,948 B436 B-78%
MP4 master 10 MB9,830,512 B9,430,108 B-400 KB
Apache logs 3.5 MB231 KB217 KB-6.4%
Random bytes 1 MB1,048,581 B (+5 B)1,048,577 B (+1 B)4 B less overhead

Where brotli is the right tool on the wire (honest)

What Pedulli does that brotli does not

When to switch

Switch to Pedulli for JSON / domain-shaped data archival, video masters, periodic sensor data and the per-file +1 byte never-worse floor - and because, by racing brotli internally, its output is never larger than brotli's. Keep brotli for HTTP Content-Encoding on the wire (browsers already speak it).

More comparisons: gzip - zstd - xz - 7-Zip - zpaq