Tizen 2.0 Alpha
[toolchains/lzo.git] / doc / LZOTEST.TXT
1 The test driver `lzotest' has grown into a fairly powerful program
2 of it's own. Here is a short description of the various options.
3
4 [ to be written - this is only a very first draft ]
5
6
7 Usage:
8 ======
9
10 lzotest [option..] file...
11
12
13 Basic options:
14 ==============
15
16   -m#     compression method
17   -b#     set input block size (default 262144, max 1310720)
18   -n#     number of compression/decompression runs
19   -c#     number of compression runs
20   -d#     number of decompression runs
21   -S      use safe decompressor (if available)
22   -A      use assembler decompressor (if available)
23   -F      use fast assembler decompressor (if available)
24   -O      optimize compressed data (if available)
25   -s DIR  process Calgary Corpus test suite in directory `DIR'
26   -@      read list of files to compress from stdin
27   -q      be quiet
28   -L      display software license
29
30
31 More about `-m':
32 ================
33
34 Use `-m' to list all available methods.
35
36 You can select methods by number:
37 -m71
38
39 You can select methods by name:
40 -mlzo1x-1
41 -mlzo1x-999
42 -mlzo1x-1(11)
43
44 You can select some predefined method groups:
45 -mall
46 -mlzo
47 -mm1
48 -mm99
49 -mm999
50 -m1x999
51 -m1y999
52
53 You can specify multiple methods/groups separated by ',':
54 -m1,2,3,4
55 -m1,2,3,4,lzo1x-1,m99,81
56
57 And finally you can use multiple `-m' options:
58 -m962,972 -mm99,982,m1
59
60
61 Other options:
62 ==============
63
64 --max-data-length=LEN
65
66 --dict=FILENAME
67 --max-dict-length=LEN
68
69 --dump=FILENAME
70
71 --adler32
72 --crc32
73 --execution-time
74 --totals
75