Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zstd
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
yocto-mirrors
zstd
Commits
e0ee0fcc
Commit
e0ee0fcc
authored
11 months ago
by
Yann Collet
Browse files
Options
Downloads
Patches
Plain Diff
updated benchmarks for v1.5.6
parent
80a9a2df
Branches
fix3764
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+13
-14
13 additions, 14 deletions
README.md
with
13 additions
and
14 deletions
README.md
+
13
−
14
View file @
e0ee0fcc
...
@@ -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 | 5
3
0 MB/s | 1
70
0 MB/s |
|
**zstd 1.5.
6
-1**
| 2.887 | 5
1
0 MB/s | 1
58
0 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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment