Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _gsocblogs/2024/blog_ATLCompression_IshanDarji.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,15 @@ Below we are plotting compression speed and compression ratio generated by the a
The ideal library would have high compression speed and low compression ratio. We can see that `brotli` covers the widest range, giving us the option to have the slowest compression speed in exchange for the lowest compression ratio, but also the second-fastest speed with the highest ratio. It is also immediately noticeable that `zlib` consistently gives compression ratios that are higher than desirable for the speed being compressed. Both `xz` and `lzlib` perform very similarly, where they do not offer the same range of options that `brotli` and `zstd` do, and they only operate in the slower and lower compression ratio end of the spectrum, but they are an improvement over `brotli` and `zstd` within that range.

In the end, to compare each library with the most similar compression speed to `zlib` at compression level 1 we see:

| Library | Level | Ratio | Compression | Decompression |
|---------|-------|-------|-------------|---------------|
|zlib | 1 | 62.23 | 67.7 MB/s | 234 MB/s |
|zstd | 8 | 58.35 | 65.6 MB/s | 525 MB/s |
|brotli | 4 | 57.74 | 57.1 MB/s | 268 MB/s|

Whereas when looking at the most similar compression ratios we see:

| Library | Level | Ratio | Compression | Decompression |
|---------|-------|-------|-------------|---------------|
|zlib | 1 | 62.23 | 67.7 MB/s | 234 MB/s |
Expand Down