xref: /aosp_15_r20/external/cronet/third_party/brotli/README.chromium (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1Name: Brotli
2URL: https://github.com/google/brotli
3Version: 9801a2c5d6c67c467ffad676ac301379bb877fc3
4License: MIT
5License File: LICENSE
6Security Critical: yes
7Shipped: yes
8
9Description:
10Brotli is a generic byte-level compression algorithm that is used at the
11byte-compression level in WOFF 2.0 font file format. This library is used
12to decode WOFF 2.0 fonts and "Content-Encoding: br" responses.
13
14Some speed measurements to compare with //third_party/zlib were taken:
15https://docs.google.com/spreadsheets/d/1As6Sf03o8adulBH03RzIc0Ei_jNhcKXWArNsTQKk-8M/edit?usp=sharing
16At low compression levels, brotli is faster at compressing than zlib. At
17higher compression levels, brotli or zlib can be faster at compressing,
18depending on the data being compressed. At all compression levels, brotli
19decompresses roughly 1.6-2.0x slower than zlib.
20
21Local Modifications:
22- This only includes the contents of c/ directory, the README.md and the LICENSE
23  files.
24- Auxiliary fuzzer runners removed from fuzz/
25- common/dictionary.bin*: Removed.
26- BUILD.gn: Added.
27