-
Notifications
You must be signed in to change notification settings - Fork 188
/
Copy pathlzbench.7.txt
61 lines (50 loc) · 1.82 KB
/
lzbench.7.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
lzbench manual
NAME
lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA
compressors
SYNOPSIS
usage: lzbench [options] input [input2] [input3]
where [input] is a file or a directory and [options] are:
OPTIONS
-b#
set block/chunk size to # KB {default = MIN(filesize,1747626 KB)}
-c#
sort results by column # (1=algname, 2=ctime, 3=dtime,
4=comprsize)
-e#
#=compressors separated by '/' with parameters specified after
',' {fast}
-iX,Y
set min. number of compression and decompression iterations {1, 1}
-j
join files in memory but compress them independently (for many
small files)
-l
list of available compressors and aliases
-R
read block/chunk size from random blocks (to estimate for large
files)
-m#
set memory limit to # MB {no limit}
-o#
output text format 1=Markdown, 2=text, 3=text+origSize, 4=CSV {2}
-p#
print time for all iterations: 1=fastest 2=average 3=median {1}
-r
operate recursively on directories
-s#
use only compressors with compression speed over # MB {0 MB}
-tX,Y
set min. time in seconds for compression and decompression {1, 2}
-v
disable progress information
-x
disable real-time process priority
-z
show (de)compression times instead of speed
EXAMPLES
lzbench -ezstd filename = selects all levels of zstd
lzbench -ebrotli,2,5/zstd filename = selects levels 2 & 5 of brotli and zstd
lzbench -t3,5 fname = 3 sec compression and 5 sec decompression loops
lzbench -t0,0 -i3,5 -ezstd fname = 3 compression and 5 decompression iter.
lzbench -j -r dirname = recursively select and join files in given directory