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 10 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×
mbrotli2.770×
Rust brotli0.581×
Burli2.632×

mbrotli median speed / Burli: 1.051× (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.19080.1901–0.1916219.931.000×
mbrotli0.022480.02164–0.023341,866.718.488×
Rust brotli1.8421.84–1.84422.780.104×
Burli0.035160.03497–0.035381,193.445.426×

text-1m

Alice text repeated cyclically to 1 MiB.

47,492 compressed → 1,048,576 restored bytes; compressed / original: 4.529%.

DecoderMean µs95% mean interval µsDecoded MiB/sSpeed / C
Google C707.4706.4–708.61,413.561.000×
mbrotli315.1314.8–315.33,173.842.245×
Rust brotli909.5908.9–910.11,099.520.778×
Burli442441.5–442.62,262.291.600×

binary-64k

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

1,063 compressed → 65,536 restored bytes; compressed / original: 1.622%.

DecoderMean µs95% mean interval µsDecoded MiB/sSpeed / C
Google C37.8537.81–37.881,651.391.000×
mbrotli12.6612.65–12.664,937.502.990×
Rust brotli51.751.61–51.841,208.950.732×
Burli13.8413.83–13.864,514.472.734×

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.212.208–2.21228,278.341.000×
mbrotli0.86660.866–0.867372,121.072.550×
Rust brotli35.4535.42–35.491,763.080.062×
Burli0.87380.8733–0.874371,527.362.529×

alice29

Vendored Alice in Wonderland text.

47,477 compressed → 152,089 restored bytes; compressed / original: 31.217%.

DecoderMean µs95% mean interval µsDecoded MiB/sSpeed / C
Google C283.2282.6–283.7512.231.000×
mbrotli281280.7–281.2516.171.008×
Rust brotli378.1377.8–378.5383.570.749×
Burli423422.5–423.6342.900.669×

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.1140.08–40.1524,929.991.000×
mbrotli15.9215.9–15.9662,805.312.519×
Rust brotli93.4593.33–93.5910,701.030.429×
Burli15.8915.88–15.9162,921.462.524×

repeated-1m

1 MiB of repeated a bytes.

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

DecoderMean µs95% mean interval µsDecoded MiB/sSpeed / C
Google C1,2271,226–1,228815.001.000×
mbrotli8.9558.948–8.963111,664.27137.011×
Rust brotli1,2641,262–1,267791.110.971×
Burli8.0628.052–8.074124,040.42152.197×

empty

Empty input; measures API overhead.

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

DecoderMean µs95% mean interval µsDecoded MiB/sSpeed / C
Google C0.11310.113–0.1133—1.000×
mbrotli0.020250.01956–0.02096—5.588×
Rust brotli1.7111.709–1.712—0.066×
Burli0.015430.01538–0.01551—7.333×