/plushcap/analysis/cloudflare/results-experimenting-brotli

Results of experimenting with Brotli for dynamic web content

What's this blog post about?

The benchmarking results show that on average, Brotli at the maximal quality setting produces 1.19X smaller results than zlib at the maximal quality. However, for files smaller than 1KB the result is 1.38X smaller on average, a very impressive improvement, that can probably be attributed to the use of static dictionary. Compression speed-wise, Brotli at quality level 4 is slightly faster than zlib level 8 while having comparable compression ratio. However, most files are smaller than 64KB, and if we look only at those files then Brotli 4 is actually 1.48X slower than zlib level 8! For on-the-fly compression, the most important question is how much time to invest in compression to make data transfer faster. It seems that for files greater than 64KB, Brotli at quality setting 5 can speed up slow connections.

Company
Cloudflare

Date published
Oct. 23, 2015

Author(s)
Vlad Krasnov

Word count
3301

Language
English

Hacker News points
11


By Matt Makai. 2021-2024.