Skip to content

Commit

Permalink
Fix table formatting in blog of Ishan Darji (#1607)
Browse files Browse the repository at this point in the history
  • Loading branch information
maszyman authored Oct 22, 2024
1 parent 5f7fe28 commit 64c5ac2
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit 64c5ac2

Please sign in to comment.