Open datasets
Every raw result behind the compression benchmarks lives here in both JSON and CSV, together with the scripts that produced it. The data files are licensed CC BY 4.0: reuse them, republish them, drop them into your own comparison — just credit the source.
Codec benchmark: output bytes and throughput
Six real payloads across 19 codecs: output bytes, ratio, compress and decompress MB/s, plus the runtime each codec needs.
Compression overhead: when is it worth compressing
Sweeps every size from zero bytes upward and records the actual output bytes per codec, locating the crossover where compression starts to pay.
zstd level ladder
Walks zstd-1 through zstd-19 with brotli comparison levels, recording ratio and throughput at each step so the marginal return of every level is visible.
zstd advanced parameter sweep
Holds input and level fixed while varying windowLog, chainLog, strategy and others, separating the effect of a level from the effect of a knob.
gzip level and memLevel
How gzip's level and memLevel each move output bytes, generated alongside the overhead sweep.
File sizes are byte counts at build time. To re-run: download the matching .mjs script and the payloads it references in payloads.mjs, then run it with the library and Node versions named in the methodology section on the benchmarks page; the results should match byte for byte.