mirror of
https://github.com/facebook/zstd.git
synced 2025-08-08 17:22:10 +03:00
minor README.md corrections
This commit is contained in:
@@ -29,15 +29,15 @@ Dictionary gains are mostly effective in the first few KB. Then, the compression
|
|||||||
will rely more and more on previously decoded content to compress the rest of the file.
|
will rely more and more on previously decoded content to compress the rest of the file.
|
||||||
|
|
||||||
Usage of the dictionary builder and created dictionaries with CLI:
|
Usage of the dictionary builder and created dictionaries with CLI:
|
||||||
1) Create the dictionary : `zstd --train FullPathToTrainingSet/* -o dictionaryName`
|
1. Create the dictionary : `zstd --train FullPathToTrainingSet/* -o dictionaryName`
|
||||||
2) Compress with dictionary: `zstd FILE -D dictionaryName`
|
2. Compress with dictionary: `zstd FILE -D dictionaryName`
|
||||||
3) Decompress with dictionary: `zstd --decompress FILE.zst -D dictionaryName`
|
3. Decompress with dictionary: `zstd --decompress FILE.zst -D dictionaryName`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#### Benchmark in Command Line Interface
|
#### Benchmark in Command Line Interface
|
||||||
CLI includes in-memory compression benchmark module for zstd.
|
CLI includes in-memory compression benchmark module for zstd.
|
||||||
The benchmark is conducted using given filenames which are read into memory and joined together.
|
The benchmark is conducted using given filenames. The files are read into memory and joined together.
|
||||||
It makes benchmark more precise as it eliminates I/O overhead.
|
It makes benchmark more precise as it eliminates I/O overhead.
|
||||||
Many filenames can be supplied as multiple parameters, parameters with wildcards or
|
Many filenames can be supplied as multiple parameters, parameters with wildcards or
|
||||||
names of directories can be used as parameters with the `-r` option.
|
names of directories can be used as parameters with the `-r` option.
|
||||||
|
@@ -8,7 +8,7 @@ This directory contains the following programs and scripts:
|
|||||||
- `paramgrill` : parameter tester for zstd
|
- `paramgrill` : parameter tester for zstd
|
||||||
- `test-zstd-speed.py` : script for testing zstd speed difference between commits
|
- `test-zstd-speed.py` : script for testing zstd speed difference between commits
|
||||||
- `test-zstd-versions.py` : compatibility test between zstd versions stored on Github (v0.1+)
|
- `test-zstd-versions.py` : compatibility test between zstd versions stored on Github (v0.1+)
|
||||||
- `zbufftest` : Test tool to check ZBUFF integrity on target platform
|
- `zbufftest` : Test tool to check ZBUFF (a buffered streaming API) integrity
|
||||||
- `zstreamtest` : Fuzzer test tool for zstd streaming API
|
- `zstreamtest` : Fuzzer test tool for zstd streaming API
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user