Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Decompression of quality 4 streams

Decoder overview · Benchmark index

Recorded run: dec-2026-10-30-amd (2026-10-30). CSV · Environment · Methodology and limits.

Quality belongs to the C encoder that prepared the input; decoders have no quality setting. All four decode the same bytes. Burli is included at every source quality; SIMD Brotli re-exports Rust brotli’s decoder and is omitted.

Median speed across 8 datasets

Median of per-dataset C mean time / decoder mean time ratios, with equal weight. Higher is faster; 1× matches C. No confidence interval is inferred for this across-dataset median.

DecoderMedian speed / C
Google C1.000×
mbrotli3.461×
Rust brotli0.574×
Burli3.407×

mbrotli median speed / Burli: 1.003× (direct per-dataset ratios).

Datasets are ranked by mbrotli speed relative to the fastest peer, highest first. Throughput counts restored bytes; empty input has latency only. Whiskers and intervals describe sampling uncertainty, not all host variation. Cold APIs include allocation and disposal. C knows the output capacity; Rust brotli includes its 4 KiB I/O adapter.

tiny-text

44-byte quick-brown-fox sentence.

48 compressed → 44 restored bytes; compressed / original: 109.091%.

DecoderMean µs95% mean interval µsDecoded MiB/sSpeed / C
Google C0.16890.1684–0.1695248.431.000×
mbrotli0.022350.02146–0.02331,877.777.558×
Rust brotli1.8131.812–1.81523.140.093×
Burli0.035190.03507–0.035331,192.564.800×

text-1m

Alice text repeated cyclically to 1 MiB.

55,915 compressed → 1,048,576 restored bytes; compressed / original: 5.332%.

DecoderMean µs95% mean interval µsDecoded MiB/sSpeed / C
Google C655.2640.5–670.31,526.331.000×
mbrotli239.6239.4–239.84,173.382.734×
Rust brotli827.7827.3–828.11,208.190.792×
Burli291.7291.4–2923,428.352.246×

random-64k

64 KiB prefix of the deterministic pseudorandom corpus.

65,540 compressed → 65,536 restored bytes; compressed / original: 100.006%.

DecoderMean µs95% mean interval µsDecoded MiB/sSpeed / C
Google C2.1862.185–2.18728,590.911.000×
mbrotli0.84250.8419–0.843274,185.892.595×
Rust brotli35.7835.76–35.81,746.730.061×
Burli0.85370.8533–0.854173,211.672.561×

random-1m

1 MiB of deterministic xorshift64 pseudorandom bytes.

1,048,581 compressed → 1,048,576 restored bytes; compressed / original: 100.000%.

DecoderMean µs95% mean interval µsDecoded MiB/sSpeed / C
Google C40.1840.12–40.2324,890.591.000×
mbrotli15.8815.85–15.962,986.652.531×
Rust brotli90.9890.92–91.0510,991.000.442×
Burli15.7515.73–15.7763,501.842.551×

binary-64k

64 KiB of structured binary bytes: ((i / 16) XOR i) modulo 256.

2,554 compressed → 65,536 restored bytes; compressed / original: 3.897%.

DecoderMean µs95% mean interval µsDecoded MiB/sSpeed / C
Google C34.6634.64–34.681,803.361.000×
mbrotli8.2748.265–8.2847,553.654.189×
Rust brotli46.746.66–46.741,338.460.742×
Burli8.158.145–8.1547,669.114.253×

repeated-1m

1 MiB of repeated a bytes.

13 compressed → 1,048,576 restored bytes; compressed / original: 0.001%.

DecoderMean µs95% mean interval µsDecoded MiB/sSpeed / C
Google C1,2261,225–1,228815.471.000×
mbrotli8.5078.504–8.51117,554.83144.156×
Rust brotli1,2531,253–1,254797.770.978×
Burli8.1898.178–8.201122,112.05149.744×

alice29

Vendored Alice in Wonderland text.

55,504 compressed → 152,089 restored bytes; compressed / original: 36.494%.

DecoderMean µs95% mean interval µsDecoded MiB/sSpeed / C
Google C220.1219.6–220.7658.931.000×
mbrotli234.5234.3–234.7618.510.939×
Rust brotli312311.8–312.2464.880.706×
Burli291.8291.4–292.2497.140.754×

empty

Empty input; measures API overhead.

1 compressed → 0 restored bytes; compressed / original: undefined.

DecoderMean µs95% mean interval µsDecoded MiB/sSpeed / C
Google C0.10980.1097–0.1099—1.000×
mbrotli0.020260.01958–0.02096—5.419×
Rust brotli1.7281.727–1.73—0.064×
Burli0.015450.0154–0.01555—7.105×