Skip to content
Snippets Groups Projects
Commit e0ee0fcc authored by Yann Collet's avatar Yann Collet
Browse files

updated benchmarks for v1.5.6

parent 80a9a2df
Branches fix3764
No related tags found
No related merge requests found
...@@ -29,10 +29,10 @@ a list of known ports and bindings is provided on [Zstandard homepage](https://f ...@@ -29,10 +29,10 @@ a list of known ports and bindings is provided on [Zstandard homepage](https://f
## Benchmarks ## Benchmarks
For reference, several fast compression algorithms were tested and compared For reference, several fast compression algorithms were tested and compared
on a desktop running Ubuntu 20.04 (`Linux 5.11.0-41-generic`), on a desktop featuring a Core i7-9700K CPU @ 4.9GHz
with a Core i7-9700K CPU @ 4.9GHz, and running Ubuntu 20.04 (`Linux ubu20 5.15.0-101-generic`),
using [lzbench], an open-source in-memory benchmark by @inikep using [lzbench], an open-source in-memory benchmark by @inikep
compiled with [gcc] 9.3.0, compiled with [gcc] 9.4.0,
on the [Silesia compression corpus]. on the [Silesia compression corpus].
[lzbench]: https://github.com/inikep/lzbench [lzbench]: https://github.com/inikep/lzbench
...@@ -41,24 +41,23 @@ on the [Silesia compression corpus]. ...@@ -41,24 +41,23 @@ on the [Silesia compression corpus].
| Compressor name | Ratio | Compression| Decompress.| | Compressor name | Ratio | Compression| Decompress.|
| --------------- | ------| -----------| ---------- | | --------------- | ------| -----------| ---------- |
| **zstd 1.5.1 -1** | 2.887 | 530 MB/s | 1700 MB/s | | **zstd 1.5.6 -1** | 2.887 | 510 MB/s | 1580 MB/s |
| [zlib] 1.2.11 -1 | 2.743 | 95 MB/s | 400 MB/s | | [zlib] 1.2.11 -1 | 2.743 | 95 MB/s | 400 MB/s |
| brotli 1.0.9 -0 | 2.702 | 395 MB/s | 450 MB/s | | brotli 1.0.9 -0 | 2.702 | 395 MB/s | 430 MB/s |
| **zstd 1.5.1 --fast=1** | 2.437 | 600 MB/s | 2150 MB/s | | **zstd 1.5.6 --fast=1** | 2.437 | 545 MB/s | 1890 MB/s |
| **zstd 1.5.1 --fast=3** | 2.239 | 670 MB/s | 2250 MB/s | | **zstd 1.5.6 --fast=3** | 2.239 | 650 MB/s | 2000 MB/s |
| quicklz 1.5.0 -1 | 2.238 | 540 MB/s | 760 MB/s | | quicklz 1.5.0 -1 | 2.238 | 525 MB/s | 750 MB/s |
| **zstd 1.5.1 --fast=4** | 2.148 | 710 MB/s | 2300 MB/s | | lzo1x 2.10 -1 | 2.106 | 650 MB/s | 825 MB/s |
| lzo1x 2.10 -1 | 2.106 | 660 MB/s | 845 MB/s | | [lz4] 1.9.4 | 2.101 | 700 MB/s | 4000 MB/s |
| [lz4] 1.9.3 | 2.101 | 740 MB/s | 4500 MB/s | | lzf 3.6 -1 | 2.077 | 420 MB/s | 830 MB/s |
| lzf 3.6 -1 | 2.077 | 410 MB/s | 830 MB/s | | snappy 1.1.9 | 2.073 | 530 MB/s | 1660 MB/s |
| snappy 1.1.9 | 2.073 | 550 MB/s | 1750 MB/s |
[zlib]: https://www.zlib.net/ [zlib]: https://www.zlib.net/
[lz4]: https://lz4.github.io/lz4/ [lz4]: https://lz4.github.io/lz4/
The negative compression levels, specified with `--fast=#`, The negative compression levels, specified with `--fast=#`,
offer faster compression and decompression speed offer faster compression and decompression speed
at the cost of compression ratio (compared to level 1). at the cost of compression ratio.
Zstd can also offer stronger compression ratios at the cost of compression speed. Zstd can also offer stronger compression ratios at the cost of compression speed.
Speed vs Compression trade-off is configurable by small increments. Speed vs Compression trade-off is configurable by small increments.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment