test140 : Building cdict w/ ZSTD_dct_fullDict on a rawContent (must fail) : OK
test141 : Loading rawContent starting with dict header w/ ZSTD_dct_auto should fail : OK
test142 : Loading rawContent starting with dict header w/ ZSTD_dct_rawContent should pass : OK
test143 : Testing non-attached CDict with ZSTD_dct_rawContent : OK
test144 : ZSTD_CCtx_refCDict() then set parameters : OK
test145 : Loading dictionary before setting parameters is the same as loading after : OK
test146 : Loading a dictionary clears the prefix : OK
test147 : Loading a dictionary clears the cdict : OK
test148 : Loading a cdict clears the prefix : OK
test149 : Loading a cdict clears the dictionary : OK
test150 : Loading a prefix clears the dictionary : OK
test151 : Loading a prefix clears the cdict : OK
test152 : Loaded dictionary persists across reset session : OK
test153 : Loaded dictionary is cleared after resetting parameters : OK
test154 : ZSTD_decompressDCtx() with dictionary : OK
test155 : ZSTD_decompressDCtx() with ddict : OK
test156 : ZSTD_decompressDCtx() with prefix : OK
(L22) Buffered: 0 B - Consumed: 1.88 MiB - Compressed: 466 KiB => 24.26% OK
/*stdin*\ : 24.19% ( 2.00 MiB => 495 KiB, /*stdout*\)
1/ 1 OK
test159 : ZSTD_lazy attach dictionary with hashLog = 29 and searchLog = 4 : fileRoundTripTest: datagen -g5M > tmp && zstd -v3 --single-thread --long -c tmp | zstd -d3 --single-thread --long
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
tmp : 29.87% ( 5.00 MiB => 1.49 MiB, /*stdout*\)
roundTripTest: datagen -g96K | zstd -v5 --single-thread | zstd -d5 --single-thread
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 31.14% ( 96.0 KiB => 29.9 KiB, /*stdout*\)
===> zstdmt round-trip tests
roundTripTest: datagen -g4M | zstd -v1 -T0 | zstd -d1 -T0
18 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
Note: 16 physical core(s) detected
/*stdin*\ : 32.41% ( 4.00 MiB => 1.30 MiB, /*stdout*\)
roundTripTest: datagen -g4M | zstd -v1 -T0 --auto-threads=physical | zstd -d1 -T0 --auto-threads=physical
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
Note: 16 physical core(s) detected
/*stdin*\ : 32.41% ( 4.00 MiB => 1.30 MiB, /*stdout*\)
roundTripTest: datagen -g4M | zstd -v1 -T0 --auto-threads=logical | zstd -d1 -T0 --auto-threads=logical
23 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
Note: 16 logical core(s) detected
/*stdin*\ : 32.41% ( 4.00 MiB => 1.30 MiB, /*stdout*\)
roundTripTest: datagen -g8M | zstd -v3 -T2 | zstd -d3 -T2
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
Warning : decompression does not support multi-threading
(L3) Buffered: 5.00 MiB - Consumed: 3.00 MiB - Compressed: 918 KiB => 29.89% ./decodecorpus -t -T30
seed: 47900
/*stdin*\ : 29.83% ( 8.00 MiB => 2.39 MiB, /*stdout*\)
roundTripTest: datagen -g8000K | zstd -v2 --threads=2 | zstd -d2 --threads=2
4 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
Warning : decompression does not support multi-threading
/*stdin*\ : 31.30% ( 7.81 MiB => 2.45 MiB, /*stdout*\)
fileRoundTripTest: datagen -g4M > tmp && zstd -v19 -T2 -B1M -c tmp | zstd -d19 -T2 -B1M
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
Warning : decompression does not support multi-threading
16 OK 128 KiB - Consumed: 0 B - Compressed: 0 B => 0.00%
test160 : Dictionary with non-default repcodes : Trying 5 different sets of parameters
OK
test161 : ZSTD_decompressDCtx() with multiple ddicts : OK
70 OK, created dictionary of size 16384 mpressed: 132 KiB => 25.79%
test163 : check dictID : OK : 297824531
129 OK, created dictionary of size 16384 pressed: 376 KiB => 24.49%
test165 : check dictID : OK : 603460011
test166 : Check input length for magic number : OK
test167 : Check magic Number : OK
test168 : Content size verification : OK : Src size is incorrect
test169 : negative compression level : OK
test170 : parameters in order : OK (compress : 2621440 -> 811114 bytes)
test171 : parameters disordered : OK (compress : 2621440 -> 811114 bytes)
test172 : get dParameter bounds OK
test173 : wrong dParameter : OK
test174 : out of bound dParameter : OK
test175 : magic-less format test : OK (compress : 2621440 -> 843570 bytes)
test176 : decompress normally (should fail) : OK : Unknown frame descriptor
test177 : decompress of magic-less frame : one-shot OK, streaming OK : regenerated 2621440 bytes
test178 : empty magic-less format test : OK (compress : 0 -> 5 bytes)
test179 : decompress of empty magic-less frame : one-shot OK, streaming OK : regenerated 0 bytes
test180 : Decompression parameter reset test : OK
test181 : Block compression test : OK
test182 : Block decompression test : OK
201 OK .50 MiB - Consumed: 2.50 MiB - Compressed: 614 KiB => 23.98%
test184 : Dictionary Block compression test : OK
test185 : Dictionary Block decompression test : OK
test186 : Block compression with CDict : OK
test187 : RLE detection test : OK
215 OK nerateSequences decode from sequences test :
test189 : ZSTD_generateSequences too small output buffer : OK
test190 : ZSTD_getSequences followed by ZSTD_compressSequences : OK
test191 : ZSTD_compressSequencesAndLiterals : OK
test192 : compress 1000000 zeroes : OK (51 bytes : 0.01%)
test193 : decompress 1000000 zeroes : OK
test194 : compress 100 zeroes : OK (17 bytes : 17.00%)
test195 : decompress 100 zeroes : OK
(L19) Buffered:1.000 MiB - Consumed: 3.00 MiB - Compressed: 732 KiB => 23.83% OK
159 OK (67694 bytes : 51.67%)es :
test198 : decompress lots 3-bytes sequence : OK
183 OK literals buffer :
test200 : incompressible data and ill suited dictionary : Trying 5 different sets of parameters
OK
test201 : ZSTD_findFrameCompressedSize on skippable frame : OK
test202 : ZSTD_getFrameContentSize on skippable frame : OK
test203 : ZSTD_getFrameHeader on skippable frame : OK
test204 : testing ZSTD error code strings : OK
test205 : testing ZSTD dictionary sizes : OK
test206 : testing FSE_normalizeCount() PR#1255: OK
test207 : testing FSE_writeNCount() PR#2779: OK
test208 : testing bitwise intrinsics PR#3045: OK
test209 : passing wrong full dict should fail on compressStream2 refPrefix OK
test210 : small dictionary with multithreading and LDM OK
test211 : ZSTD_getCParams() + dictionary OK
test212 : ZSTD_adjustCParams() + dictionary OK
test213 : check compression mem usage monotonicity over levels for estimateCCtxSize() : OK
tmp : 23.60% ( 4.00 MiB => 967 KiB, /*stdout*\) ize_usingCParams() :
===> zstdmt long distance matching round-trip tests
roundTripTest: datagen -g8M | zstd -v3 --long=24 -T2 | zstd -d3 --long=24 -T2
Warning : decompression does not support multi-threading
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 29.89% ( 8.00 MiB => 2.39 MiB, /*stdout*\)
===> zstdmt environment variable tests
Ignore environment variable setting ZSTD_NBTHREADS=-3: not a valid unsigned value
mt_tmp :244.44% ( 9 B => 22 B, mt_tmp.zst)
Ignore environment variable setting ZSTD_NBTHREADS=: not a valid unsigned value
mt_tmp :244.44% ( 9 B => 22 B, mt_tmp.zst)
Ignore environment variable setting ZSTD_NBTHREADS=-: not a valid unsigned value
mt_tmp :244.44% ( 9 B => 22 B, mt_tmp.zst)
Ignore environment variable setting ZSTD_NBTHREADS=a: not a valid unsigned value
mt_tmp :244.44% ( 9 B => 22 B, mt_tmp.zst)
Ignore environment variable setting ZSTD_NBTHREADS=+a: not a valid unsigned value
mt_tmp :244.44% ( 9 B => 22 B, mt_tmp.zst)
Ignore environment variable setting ZSTD_NBTHREADS=3a7: not a valid unsigned value
mt_tmp :244.44% ( 9 B => 22 B, mt_tmp.zst)
Ignore environment variable setting ZSTD_NBTHREADS=50000000000: numeric value too large
mt_tmp :244.44% ( 9 B => 22 B, mt_tmp.zst)
mt_tmp :244.44% ( 9 B => 22 B, mt_tmp.zst)
mt_tmp :244.44% ( 9 B => 22 B, mt_tmp.zst)
===> ovLog tests
339
===> zstd --list/-l single frame tests
3 files compressed : 32.16% ( 192 KiB => 61.7 KiB) %
Warning : ./helloworld.link.zst is a symbolic link, ignoring
Frames Skips Compressed Uncompressed Ratio Check Filename
1 0 16 B 7 B 0.438 None ./hello.zst
2 0 40 B 14 B 0.350 XXH64 ./helloworld.zst
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 ./tmp1.zst
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 ./tmp2.zst
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 ./tmp3.zst
1 0 16 B 7 B 0.438 None ./world.zst
-----------------------------------------------------------------
7 0 61.8 KiB 192 KiB 3.107 6 files
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
Warning : ./helloworld.link.zst is a symbolic link, ignoring
Decompressed Size: 7 B (7 B)
Decompressed Size: 14 B (14 B)
Decompressed Size: 64.0 KiB (65537 B)
Decompressed Size: 64.0 KiB (65537 B)
Decompressed Size: 64.0 KiB (65537 B)
Decompressed Size: 7 B (7 B)
Warning : ./helloworld.link.zst is a symbolic link, ignoring
Frames Skips Compressed Uncompressed Ratio Check Filename
1 0 16 B 7 B 0.438 None ./hello.zst
2 0 40 B 14 B 0.350 XXH64 ./helloworld.zst
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 ./tmp1.zst
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 ./tmp2.zst
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 ./tmp3.zst
1 0 16 B 7 B 0.438 None ./world.zst
-----------------------------------------------------------------
7 0 61.8 KiB 192 KiB 3.107 6 files
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
Warning : ./helloworld.link.zst is a symbolic link, ignoring
./hello.zst
# Zstandard Frames: 1
DictID: 0
Window Size: 7 B (7 B)
Compressed Size: 16 B (16 B)
Decompressed Size: 7 B (7 B)
Ratio: 0.4375
Check: None
./helloworld.zst
# Zstandard Frames: 2
DictID: 0
Window Size: 7 B (7 B)
Compressed Size: 40 B (40 B)
Decompressed Size: 14 B (14 B)
Ratio: 0.3500
Check: XXH64
./tmp1.zst
# Zstandard Frames: 1
DictID: 0
Window Size: 64.0 KiB (65537 B)
Compressed Size: 20.6 KiB (21075 B)
Decompressed Size: 64.0 KiB (65537 B)
Ratio: 3.1097
Check: XXH64 e7bace8d
./tmp2.zst
# Zstandard Frames: 1
DictID: 0
Window Size: 64.0 KiB (65537 B)
Compressed Size: 20.6 KiB (21075 B)
Decompressed Size: 64.0 KiB (65537 B)
Ratio: 3.1097
Check: XXH64 e7bace8d
./tmp3.zst
# Zstandard Frames: 1
DictID: 0
Window Size: 64.0 KiB (65537 B)
Compressed Size: 20.6 KiB (21075 B)
Decompressed Size: 64.0 KiB (65537 B)
Ratio: 3.1097
Check: XXH64 e7bace8d
./world.zst
# Zstandard Frames: 1
DictID: 0
Window Size: 7 B (7 B)
Compressed Size: 16 B (16 B)
Decompressed Size: 7 B (7 B)
Ratio: 0.4375
Check: None
===> zstd --list/-l multiple frame tests
Warning : ./helloworld.link.zst is a symbolic link, ignoring
Frames Skips Compressed Uncompressed Ratio Check Filename
1 0 16 B 7 B 0.438 None ./hello.zst
2 0 40 B 14 B 0.350 XXH64 ./helloworld.zst
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 ./tmp1.zst
2 0 41.2 KiB 128 KiB 3.110 XXH64 ./tmp12.zst
3 0 61.7 KiB 192 KiB 3.110 XXH64 ./tmp123.zst
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 ./tmp2.zst
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 ./tmp3.zst
1 0 16 B 7 B 0.438 None ./world.zst
-----------------------------------------------------------------
12 0 165 KiB 512 KiB 3.109 8 files
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
Warning : ./helloworld.link.zst is a symbolic link, ignoring
./hello.zst
# Zstandard Frames: 1
DictID: 0
Window Size: 7 B (7 B)
Compressed Size: 16 B (16 B)
Decompressed Size: 7 B (7 B)
Ratio: 0.4375
Check: None
./helloworld.zst
# Zstandard Frames: 2
DictID: 0
Window Size: 7 B (7 B)
Compressed Size: 40 B (40 B)
Decompressed Size: 14 B (14 B)
Ratio: 0.3500
Check: XXH64
./tmp1.zst
# Zstandard Frames: 1
DictID: 0
Window Size: 64.0 KiB (65537 B)
Compressed Size: 20.6 KiB (21075 B)
Decompressed Size: 64.0 KiB (65537 B)
Ratio: 3.1097
Check: XXH64 e7bace8d
./tmp12.zst
# Zstandard Frames: 2
DictID: 0
Window Size: 64.0 KiB (65537 B)
Compressed Size: 41.2 KiB (42150 B)
Decompressed Size: 128 KiB (131074 B)
Ratio: 3.1097
Check: XXH64
./tmp123.zst
# Zstandard Frames: 3
DictID: 0
Window Size: 64.0 KiB (65537 B)
Compressed Size: 61.7 KiB (63225 B)
Decompressed Size: 192 KiB (196611 B)
Ratio: 3.1097
Check: XXH64
./tmp2.zst
# Zstandard Frames: 1
DictID: 0
Window Size: 64.0 KiB (65537 B)
Compressed Size: 20.6 KiB (21075 B)
Decompressed Size: 64.0 KiB (65537 B)
Ratio: 3.1097
Check: XXH64 e7bace8d
./tmp3.zst
# Zstandard Frames: 1
DictID: 0
Window Size: 64.0 KiB (65537 B)
Compressed Size: 20.6 KiB (21075 B)
Decompressed Size: 64.0 KiB (65537 B)
Ratio: 3.1097
Check: XXH64 e7bace8d
./world.zst
# Zstandard Frames: 1
DictID: 0
Window Size: 7 B (7 B)
Compressed Size: 16 B (16 B)
Decompressed Size: 7 B (7 B)
Ratio: 0.4375
Check: None
===> zstd --list/-l error detection tests
Frames Skips Compressed Uncompressed Ratio Check Filename
File "tmp1" not compressed by zstd
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 tmp1.zst
-----------------------------------------------------------------
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 1 files
Frames Skips Compressed Uncompressed Ratio Check Filename
File "tmp1" not compressed by zstd
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 tmp1.zst
2 0 41.2 KiB 128 KiB 3.110 XXH64 tmp12.zst
3 0 61.7 KiB 192 KiB 3.110 XXH64 tmp123.zst
File "tmp2" not compressed by zstd
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 tmp2.zst
File "tmp3" not compressed by zstd
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 tmp3.zst
-----------------------------------------------------------------
8 0 165 KiB 512 KiB 3.110 XXH64 5 files
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
File "tmp1" not compressed by zstd
tmp1.zst
# Zstandard Frames: 1
DictID: 0
Window Size: 64.0 KiB (65537 B)
Compressed Size: 20.6 KiB (21075 B)
Decompressed Size: 64.0 KiB (65537 B)
Ratio: 3.1097
Check: XXH64 e7bace8d
tmp12.zst
# Zstandard Frames: 2
DictID: 0
Window Size: 64.0 KiB (65537 B)
Compressed Size: 41.2 KiB (42150 B)
Decompressed Size: 128 KiB (131074 B)
Ratio: 3.1097
Check: XXH64
tmp123.zst
# Zstandard Frames: 3
DictID: 0
Window Size: 64.0 KiB (65537 B)
Compressed Size: 61.7 KiB (63225 B)
Decompressed Size: 192 KiB (196611 B)
Ratio: 3.1097
Check: XXH64
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
File "tmp2" not compressed by zstd
tmp12.zst
# Zstandard Frames: 2
DictID: 0
Window Size: 64.0 KiB (65537 B)
Compressed Size: 41.2 KiB (42150 B)
Decompressed Size: 128 KiB (131074 B)
Ratio: 3.1097
Check: XXH64
test : detect truncated compressed file
truncatable-input.txt : 32.58% ( 48.8 KiB => 15.9 KiB, truncatable-input.txt.zst)
100+0 records in
100+0 records out
100 bytes copied, 0.000245206 s, 408 kB/s
Frames Skips Compressed Uncompressed Ratio Check Filename
Error: could not read checksum
Error while parsing "truncated-input.txt.zst"
0 0 100 B 48.8 KiB 500.000 XXH64 truncated-input.txt.zst
===> zstd --list/-l errors when presented with stdin / no files
zstd: --list does not support reading from standard input
No files given
zstd: --list does not support reading from standard input
zstd: --list does not support reading from standard input
No files given
zstd: --list does not support reading from standard input
zstd: --list does not support reading from standard input
zstd: --list does not support reading from standard input
Frames Skips Compressed Uncompressed Ratio Check Filename
1 0 20.6 KiB 64.0 KiB 3.110 XXH64 tmp1.zst
===> zstd --list/-l test with null files
tmp5 : ( 0 B => 13 B, tmp5.zst)
353 Frames Skips Compressed Uncompressed Ratio Check Filename
1 0 13 B 0 B 0.000 XXH64 tmp5.zst
Frames Skips Compressed Uncompressed Ratio Check Filename
Error: reached end of file with incomplete frame
File "tmp5" not compressed by zstd
1 0 13 B 0 B 0.000 XXH64 tmp5.zst
-----------------------------------------------------------------
1 0 13 B 0 B 0.000 XXH64 1 files
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
Decompressed Size: 0 B (0 B)
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
Error: reached end of file with incomplete frame
File "tmp5" not compressed by zstd
tmp5.zst
# Zstandard Frames: 1
DictID: 0
Window Size: 0 B (0 B)
Compressed Size: 13 B (13 B)
Decompressed Size: 0 B (0 B)
Ratio: 0.0000
Check: XXH64 51d8e999
===> zstd --list/-l test with no content size field
Frames Skips Compressed Uncompressed Ratio Check Filename
1 0 156 KiB XXH64 tmp6.zst
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
===> zstd --list/-l test with no checksum
tmp1 : 32.15% ( 64.0 KiB => 20.6 KiB, tmp1.zst)
219 Frames Skips Compressed Uncompressed Ratio Check Filename
1 0 20.6 KiB 64.0 KiB 3.110 None tmp1.zst
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
tmp1.zst
# Zstandard Frames: 1
DictID: 0
Window Size: 64.0 KiB (65537 B)
Compressed Size: 20.6 KiB (21071 B)
Decompressed Size: 64.0 KiB (65537 B)
Ratio: 3.1103
Check: None
===> zstd trace tests
tmp1 : 32.16% ( 64.0 KiB => 20.6 KiB, tmp1.zst)
3 files compressed : 32.16% ( 192 KiB => 61.7 KiB) %
zstd: WARNING: all input files will be processed and concatenated into a single output file: /dev/null
The concatenated output CANNOT regenerate original file names nor directory structure.
3 files compressed : 32.16% ( 192 KiB => 61.7 KiB) %
3 files compressed : 32.16% ( 192 KiB => 61.7 KiB) %
zstd: WARNING: all input files will be processed and concatenated into a single output file: /dev/null
The concatenated output CANNOT regenerate original file names nor directory structure.
2 files compressed : 0.04% ( 128 KiB => 48 B) %
zstd: WARNING: all input files will be processed and concatenated into a single output file: /dev/null
The concatenated output CANNOT regenerate original file names nor directory structure.
2 files compressed : 0.04% ( 128 KiB => 48 B) %
tmp1.zst : 65537 bytes
2 files decompressed : 131074 bytes total
tmp1.zst : 65537 bytes
3 files decompressed : 196611 bytes total
/*stdin*\ : 65537 bytes
1#tmp1 : 65537 -> 22162 (x2.957), 80.2 MB/s 341.1 MB/s
2#tmp1 : 65537 -> 21935 (x2.988), 63.5 MB/s, 284.2 MB/s
3#tmp1 : 65537 -> 21071 (x3.110), 46.6 MB/s, 298.4 MB/s
4#tmp1 : 65537 -> 21360 (x3.068), 35.6 MB/s, 255.9 MB/s
5#tmp1 : 65537 -> 20911 (x3.134), 22.8 MB/s, 258.3 MB/s
6#tmp1 : 65537 -> 20507 (x3.196), 19.5 MB/s, 373.9 MB/s
7#tmp1 : 65537 -> 20362 (x3.219), 20.8 MB/s, 430.0 MB/s
8#tmp1 : 65537 -> 20336 (x3.223), 18.1 MB/s, 432.8 MB/s
9#tmp1 : 65537 -> 20321 (x3.225), 13.8 MB/s, 414.7 MB/s
10#tmp1 : 65537 -> 20349 (x3.221), 11.8 MB/s, 406.2 MB/s
1# 3 files : 196611 -> 66486 (x2.957), 71.9 MB/s, 291.6 MB/s
2# 3 files : 196611 -> 65805 (x2.988), 73.6 MB/s, 260.0 MB/s
3# 3 files : 196611 -> 63213 (x3.110), 56.0 MB/s, 277.9 MB/s
4# 3 files : 196611 -> 64080 (x3.068), 45.1 MB/s, 263.5 MB/s
5# 3 files : 196611 -> 62733 (x3.134), 20.6 MB/s, 258.3 MB/s
6# 3 files : 196611 -> 61521 (x3.196), 16.8 MB/s, 227.9 MB/s
7# 3 files : 196611 -> 61086 (x3.219), 13.5 MB/s, 258.8 MB/s
8# 3 files : 196611 -> 61008 (x3.223), 11.7 MB/s, 258.6 MB/s
9# 3 files : 196611 -> 60963 (x3.225), 9.65 MB/s, 251.2 MB/s
10# 3 files : 196611 -> 61047 (x3.221), 7.97 MB/s, 254.5 MB/s
===> zstd long distance matching tests
roundTripTest: datagen -g0 | zstd -v --single-thread --long | zstd -d --single-thread --long
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : ( 0 B => 13 B, /*stdout*\)
roundTripTest: datagen -g9M | zstd -v2 --single-thread --long | zstd -d2 --single-thread --long
237 OK
test215 : thread pool API tests :
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 31.33% ( 9.00 MiB => 2.82 MiB, /*stdout*\) ead pool test : threadPool reuse roundtrips:
roundTripTest: datagen -g1M -P50 | zstd -v1 --single-thread --long=29 | zstd -d --memory=512MB
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 31.24% ( 1.000 MiB => 320 KiB, /*stdout*\)
roundTripTest: datagen -g1M -P50 | zstd -v1 --single-thread --long=29 --zstd=wlog=28 | zstd -d --memory=256MB
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 31.24% ( 1.000 MiB => 320 KiB, /*stdout*\)
roundTripTest: datagen -g1M -P50 | zstd -v1 --single-thread --long=29 | zstd -d --long=28 --memory=512MB
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 31.24% ( 1.000 MiB => 320 KiB, /*stdout*\)
roundTripTest: datagen -g1M -P50 | zstd -v1 --single-thread --long=29 | zstd -d --zstd=wlog=28 --memory=512MB
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 31.24% ( 1.000 MiB => 320 KiB, /*stdout*\)
./playTests.sh: line 1697: [: : integer expression expected
===> zstd asyncio tests
roundTripTest: datagen -g2M | zstd -v3 --asyncio --format=zstd | zstd -d3 --asyncio --format=zstd
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 29.95% ( 2.00 MiB => 613 KiB, /*stdout*\)
roundTripTest: datagen -g2M | zstd -v3 --no-asyncio --format=zstd | zstd -d3 --no-asyncio --format=zstd
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
249 OK 28 KiB - Consumed: 0 B - Compressed: 0 B => 0.00%
/*stdin*\ : 29.95% ( 2.00 MiB => 613 KiB, /*stdout*\)
410 OK
thread pool tests OK
418 roundTripTest: datagen -g2M | zstd -v3 --asyncio --format=gzip | zstd -d3 --asyncio --format=gzip
1 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 32.53% ( 2.00 MiB => 666 KiB, /*stdout*\)
roundTripTest: datagen -g2M | zstd -v3 --no-asyncio --format=gzip | zstd -d3 --no-asyncio --format=gzip
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 32.53% ( 2.00 MiB => 666 KiB, /*stdout*\)
443 roundTripTest: datagen -g2M | zstd -v3 --asyncio --format=lzma | zstd -d3 --asyncio --format=lzma
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 29.46% ( 2.00 MiB => 603 KiB, /*stdout*\)
roundTripTest: datagen -g2M | zstd -v3 --no-asyncio --format=lzma | zstd -d3 --no-asyncio --format=lzma
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 29.46% ( 2.00 MiB => 603 KiB, /*stdout*\)
619 roundTripTest: datagen -g2M | zstd -v3 --asyncio --format=lz4 | zstd -d3 --asyncio --format=lz4
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 39.14% ( 2.00 MiB => 802 KiB, /*stdout*\)
roundTripTest: datagen -g2M | zstd -v3 --no-asyncio --format=lz4 | zstd -d3 --no-asyncio --format=lz4
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 39.14% ( 2.00 MiB => 802 KiB, /*stdout*\)
395
===> adaptive mode
roundTripTest: datagen -g270000000 | zstd -v --adapt | zstd -d --adapt
824 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 29.74% ( 257 MiB => 76.6 MiB, /*stdout*\)
roundTripTest: datagen -g27000000 | zstd -v --adapt=min=1,max=4 | zstd -d --adapt=min=1,max=4
1061 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 29.85% ( 25.7 MiB => 7.69 MiB, /*stdout*\)
roundTripTest: datagen -g27000000 | zstd -v --adapt=min=-2,max=-1 | zstd -d --adapt=min=-2,max=-1
160 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 37.57% ( 25.7 MiB => 9.67 MiB, /*stdout*\)
===> test: --adapt must fail on incoherent bounds
Incorrect parameter: --adapt=
Compress or decompress the INPUT file(s); reads from STDIN if INPUT is `-` or not provided.
Usage: zstd [OPTIONS...] [INPUT... | -] [-o OUTPUT]
Options:
-o OUTPUT Write output to a single file, OUTPUT.
-k, --keep Preserve INPUT file(s). [Default]
--rm Remove INPUT file(s) after successful (de)compression.
-# Desired compression level, where `#` is a number between 1 and 19;
lower numbers provide faster compression, higher numbers yield
better compression ratios. [Default: 3]
-d, --decompress Perform decompression.
-D DICT Use DICT as the dictionary for compression or decompression.
-f, --force Disable input and output checks. Allows overwriting existing files,
receiving input from the console, printing output to STDOUT, and
operating on links, block devices, etc. Unrecognized formats will be
passed-through through as-is.
-h Display short usage and exit.
-H, --help Display full help and exit.
-V, --version Display the program version and exit.
incoherent adaptation limits
Incorrect parameter: --adapt=min=10,max=9
Compress or decompress the INPUT file(s); reads from STDIN if INPUT is `-` or not provided.
Usage: zstd [OPTIONS...] [INPUT... | -] [-o OUTPUT]
Options:
-o OUTPUT Write output to a single file, OUTPUT.
-k, --keep Preserve INPUT file(s). [Default]
--rm Remove INPUT file(s) after successful (de)compression.
-# Desired compression level, where `#` is a number between 1 and 19;
lower numbers provide faster compression, higher numbers yield
better compression ratios. [Default: 3]
-d, --decompress Perform decompression.
-D DICT Use DICT as the dictionary for compression or decompression.
-f, --force Disable input and output checks. Allows overwriting existing files,
receiving input from the console, printing output to STDOUT, and
operating on links, block devices, etc. Unrecognized formats will be
passed-through through as-is.
-h Display short usage and exit.
-H, --help Display full help and exit.
-V, --version Display the program version and exit.
===> rsyncable mode
roundTripTest: datagen -g10M | zstd -v --rsyncable | zstd -d --rsyncable
1163 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 29.85% ( 10.0 MiB => 2.98 MiB, /*stdout*\)
roundTripTest: datagen -g10M | zstd -v --rsyncable -B100K | zstd -d --rsyncable -B100K
181 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 30.11% ( 10.0 MiB => 3.01 MiB, /*stdout*\)
===> test: --rsyncable must fail with --single-thread
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
Compressing with 0 worker threads
zstd: error 1 : Rsyncable mode is not compatible with single thread mode
===> patch-from=origin tests
tmp_patch : 82.70% ( 1000 B => 827 B, tmp_patch_diff)
tmp_patch_diff : 1000 bytes
Files tmp_patch_recon and tmp_patch are identical
===> alternate syntax: patch-from origin
tmp_patch : 82.70% ( 1000 B => 827 B, tmp_patch_diff)
tmp_patch_diff : 1000 bytes
Files tmp_patch_recon and tmp_patch are identical
===> patch-from recursive tests
error : can't use --patch-from=# on multiple files
===> patch-from long mode trigger larger file test
./playTests.sh: line 1805: [: : integer expression expected
1200 long mode automatically triggered
1270 PASS: compression/window-resize.sh
----------------------------------------
PASS: basic/args.sh
----------------------------------------
PASS: basic/help.sh
----------------------------------------
569 PASS: basic/memlimit.sh
----------------------------------------
PASS: basic/output_dir.sh
----------------------------------------
PASS: basic/version.sh
----------------------------------------
187 PASS: progress/no-progress.sh
----------------------------------------
196 PASS: progress/progress.sh
----------------------------------------
FAIL: file-stat/compress-file-to-dir-without-write-perm.sh
FAIL: file-stat/compress-file-to-dir-without-write-perm.sh.check_stderr
stderr does not match!
> diff expected actual
25,26c25,42
< zstd: out/file.zst: Permission denied
< zstd: can't stat out/file.zst : Permission denied -- ignored
---
> Trace:FileStat: > UTIL_isRegularFile(out/file.zst)
> Trace:FileStat: > UTIL_stat(-1, out/file.zst)
> Trace:FileStat: < 1
> Trace:FileStat: < 1
> Trace:FileStat: > UTIL_getFileSize(file)
> Trace:FileStat: > UTIL_stat(-1, file)
> Trace:FileStat: < 1
> Trace:FileStat: < 65537
> Trace:FileStat: > UTIL_setFileStat(4, out/file.zst)
> Trace:FileStat: > UTIL_stat(4, out/file.zst)
> Trace:FileStat: < 1
> Trace:FileStat: > UTIL_chmod(out/file.zst, 0644)
> Trace:FileStat: > fchmod
> Trace:FileStat: < 0
> Trace:FileStat: < 0
> Trace:FileStat: < 0
> Trace:FileStat: > UTIL_utime(out/file.zst)
> Trace:FileStat: < 0
----------------------------------------
PASS: file-stat/compress-file-to-file.sh
----------------------------------------
PASS: file-stat/compress-file-to-stdout.sh
----------------------------------------
1316 PASS: file-stat/compress-stdin-to-file.sh
----------------------------------------
PASS: file-stat/compress-stdin-to-stdout.sh
----------------------------------------
PASS: file-stat/decompress-file-to-file.sh
----------------------------------------
PASS: file-stat/decompress-file-to-stdout.sh
----------------------------------------
PASS: file-stat/decompress-stdin-to-file.sh
----------------------------------------
581 PASS: file-stat/decompress-stdin-to-stdout.sh
----------------------------------------
1370 PASS: dictionaries/dictionary-mismatch.sh
----------------------------------------
223 PASS: dictionaries/golden.sh
----------------------------------------
PASS: zstd-symlinks/zstdcat.sh
----------------------------------------
PASS: cltools/zstdgrep.sh
----------------------------------------
1383 ./fullbench -i1
*** Zstandard speed analyzer 1.5.7 64-bits, by Yann Collet (Mar 13 2025) ***
Sample 10000000 bytes :
1393 PASS: dict-builder/empty-input.sh
----------------------------------------
PASS: dict-builder/no-inputs.sh
----------------------------------------
1402 PASS: file-handling/directory-mirror.sh
----------------------------------------
FAIL: file-stat/compress-file-to-dir-without-write-perm.sh
FAILED 1 / 40 tests!
make[3]: *** [Makefile:362: test-cli-tests] Error 1
make[3]: *** Waiting for unfinished jobs....
0#compress : 197.1 MB/s ( 3239077)
1#decompress : 572.7 MB/s (10000000)
1638
===> patch-from very large dictionary and file test
2#compress_freshCCtx : 181.6 MB/s ( 3239077)
3#decompressDCtx : 623.5 MB/s (10000000)
1825 tests completed: OK
tmp_patch : 12.23% ( 95.4 MiB => 11.7 MiB, tmp_patch.zst)
4#compressContinue : 212.5 MB/s ( 3239077)
tmp_patch.zst : 100000000 bytes
826 Files tmp_patch_recon and tmp_patch are identical
389
===> patch-from --stream-size test
zstd: error 42 : Using --patch-from with stdin requires --stream-size
/*stdin*\ : 82.70% ( 1000 B => 827 B, tmp_patch_diff)
===> large files tests
roundTripTest: datagen -g270000000 | zstd -v1 | zstd -d1
5#compressContinue_extDict : 194.2 MB/s ( 3239062)
6#decompressContinue : 678.7 MB/s (10000000)
431 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
7#compressStream : 173.5 MB/s ( 3239075) .2 MiB => 32.41%
8#compressStream_freshCCtx : 123.3 MB/s ( 3239075) .0 MiB => 32.40%
/*stdin*\ : 32.40% ( 257 MiB => 83.4 MiB, /*stdout*\)
roundTripTest: datagen -g250000000 | zstd -v2 | zstd -d2
9#decompressStream : 688.7 MB/s (10000000)
529 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
10#compress2 : 213.8 MB/s ( 3239077) .0 MiB => 31.31%
(L2) Buffered: 5.00 MiB - Consumed: 226 MiB - Compressed: 70.8 MiB => 31.31%
/*stdin*\ : 31.31% ( 238 MiB => 74.6 MiB, /*stdout*\)
roundTripTest: datagen -g230000000 | zstd -v3 | zstd -d3
12#compressStream2, end & short : 179.8 MB/s ( 3239077) *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
636 m2, end & short : 216.9 MB/s ( 3239077) 67 MiB => 29.83%
/*stdin*\ : 29.81% ( 219 MiB => 65.4 MiB, /*stdout*\)
roundTripTest: datagen -g140000000 -P60 | zstd -v4 | zstd -d4
663 m2, continue : 132.9 MB/s ( 3239075)
1025 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
710 m2, -T2, continue : 189.3 MB/s ( 3240235) .2 MiB => 28.02%
/*stdin*\ : 28.03% ( 134 MiB => 37.4 MiB, /*stdout*\)
714 roundTripTest: datagen -g130000000 -P62 | zstd -v5 | zstd -d5
731 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 25.95% ( 124 MiB => 32.2 MiB, /*stdout*\)
roundTripTest: datagen -g120000000 -P65 | zstd -v6 | zstd -d6
15#compressStream2, -T2, end : 284.7 MB/s ( 3240239)
746 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 24.15% ( 114 MiB => 27.6 MiB, /*stdout*\)
roundTripTest: datagen -g70000000 -P70 | zstd -v7 | zstd -d7
787 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
16#compressSequences : 285.9 MB/s ( 3239695) B => 0.00%
/*stdin*\ : 21.58% ( 66.8 MiB => 14.4 MiB, /*stdout*\)
roundTripTest: datagen -g60000000 -P71 | zstd -v8 | zstd -d8
1130 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
17#compressSequencesAndLiterals : 613.8 MB/s ( 3239695) 70 MiB => 20.74%
/*stdin*\ : 20.79% ( 57.2 MiB => 11.9 MiB, /*stdout*\)
roundTripTest: datagen -g50000000 -P73 | zstd -v9 | zstd -d9
831 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 19.88% ( 47.7 MiB => 9.48 MiB, /*stdout*\)
18#convertSequences (1st block) : 5492.1 MB/s ( 11846)
roundTripTest: datagen -g35000000 -P75 | zstd -v10 | zstd -d10
1186 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
19#get1BlockSummary (1st block) : 11279.7 MB/s ( 11846) .97 MiB => 18.83%
/*stdin*\ : 18.79% ( 33.4 MiB => 6.27 MiB, /*stdout*\)
roundTripTest: datagen -g30000000 -P76 | zstd -v11 | zstd -d11
1243 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
20#decodeLiteralsHeader (1st block:125976.5 MB/s ( 39) .03 MiB => 18.32%
/*stdin*\ : 18.28% ( 28.6 MiB => 5.23 MiB, /*stdout*\)
roundTripTest: datagen -g25000000 -P78 | zstd -v12 | zstd -d12
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 17.34% ( 23.8 MiB => 4.13 MiB, /*stdout*\)
roundTripTest: datagen -g18000013 -P80 | zstd -v13 | zstd -d13
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
21#decodeLiteralsBlock (1st block): 5199.0 MB/s ( 14193) 0 B => 0.00%
22#decodeSeqHeaders (1st block) : 45677.1 MB/s ( 49) .45 MiB => 15.79%
./fullbench -i1 -P0
*** Zstandard speed analyzer 1.5.7 64-bits, by Yann Collet (Mar 13 2025) ***
Sample 10000000 bytes :
0#compress : 3234.0 MB/s (10000241) .48 MiB => 15.83%
/*stdin*\ : 15.87% ( 17.2 MiB => 2.72 MiB, /*stdout*\)
roundTripTest: datagen -g18000014 -P80 | zstd -v14 | zstd -d14
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
1#decompress : 5346.3 MB/s (10000000) 747 KiB => 15.63%
2#compress_freshCCtx : 3289.2 MB/s (10000241) .76 MiB => 15.80%
3#decompressDCtx : 9339.7 MB/s (10000000) .24 MiB => 15.84%
/*stdin*\ : 15.86% ( 17.2 MiB => 2.72 MiB, /*stdout*\)
roundTripTest: datagen -g18000015 -P81 | zstd -v15 | zstd -d15
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
4#compressContinue : 2106.1 MB/s (10000241) 459 KiB => 14.94%
5#compressContinue_extDict : 2862.3 MB/s (10000223) .25 MiB => 15.28%
6#decompressContinue : 6435.0 MB/s (10000000) .86 MiB => 15.32%
7#compressStream : 2754.4 MB/s (10000237) .47 MiB => 15.29%
/*stdin*\ : 15.33% ( 17.2 MiB => 2.63 MiB, /*stdout*\)
roundTripTest: datagen -g18000016 -P84 | zstd -v16 | zstd -d16
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
8#compressStream_freshCCtx : 2202.5 MB/s (10000237) 308 KiB => 12.03%
9#decompressStream : 5405.6 MB/s (10000000) 719 KiB => 12.40%
10#compress2 : 3068.4 MB/s (10000241) .18 MiB => 12.24%
11#compressStream2, end : 2986.6 MB/s (10000241) .93 MiB => 12.30%
/*stdin*\ : 12.27% ( 17.2 MiB => 2.11 MiB, /*stdout*\)
roundTripTest: datagen -g18000017 -P88 | zstd -v17 | zstd -d17
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
12#compressStream2, end & short : 3442.3 MB/s (10000241) 271 KiB => 10.58%
13#compressStream2, continue : 2797.7 MB/s (10000237) 543 KiB => 10.60%
14#compressStream2, -T2, continue : 2003.8 MB/s (10000237) 644 KiB => 10.48%
15#compressStream2, -T2, end : 2424.3 MB/s (10000241) 911 KiB => 10.47%
16#compressSequences : 4001.6 MB/s (10000241) .05 MiB => 10.48%
ERROR: Scenario 17: This mode cannot generate an uncompressed block
18#convertSequences (1st block) :3209837.4 MB/s ( 1) 15 MiB => 10.49%
19#get1BlockSummary (1st block) :5406588.2 MB/s ( 1) 53 MiB => 10.54%
no compressed literals
no compressed literals
no compressed sequences
/*stdin*\ : 10.56% ( 17.2 MiB => 1.81 MiB, /*stdout*\)
roundTripTest: datagen -g18000018 -P94 | zstd -v18 | zstd -d18
2064 fuzzer tests completed
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
(L18) Buffered: 128 KiB - Consumed: 0 B - Compressed: 0 B => 0.00% ./zstreamtest --newapi -t1 -T90s
Starting zstream tester (64-bits, 1.5.7)
Seed = 1980
/*stdin*\ : 7.77% ( 17.2 MiB => 1.33 MiB, /*stdout*\)
roundTripTest: datagen -g18000019 -P96 | zstd -v19 | zstd -d19
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 6.90% ( 17.2 MiB => 1.19 MiB, /*stdout*\)
roundTripTest: datagen -g8M | zstd -v19 --long | zstd -d19 --long
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 23.15% ( 8.00 MiB => 1.85 MiB, /*stdout*\)
roundTripTest: datagen -g5000000000 -P99 | zstd -v1 --zstd=wlog=25 | zstd -d1 --zstd=wlog=25
2457 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 9.39% ( 4.66 GiB => 448 MiB, /*stdout*\)
2320 roundTripTest: datagen -g3700000000 -P0 | zstd -v1 --zstd=strategy=6,wlog=25 | zstd -d1 --zstd=strategy=6,wlog=25
3023 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ :100.00% ( 3.45 GiB => 3.45 GiB, /*stdout*\)
2954 fileRoundTripTest: datagen -g4193M -P99 > tmp && zstd -v1 -c tmp | zstd -d1
3781 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
3533 fuzzer tests completed umed: 594 MiB - Compressed: 55.6 MiB => 9.36%
tmp : 9.36% ( 4.09 GiB => 393 MiB, /*stdout*\)
===> zstd long, long distance matching round-trip tests
roundTripTest: datagen -g270000000 | zstd -v1 --single-thread --long | zstd -d1 --single-thread --long
4033 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 32.38% ( 257 MiB => 83.4 MiB, /*stdout*\)
roundTripTest: datagen -g130000000 -P60 | zstd -v5 --single-thread --long | zstd -d5 --single-thread --long
4121 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 27.34% ( 124 MiB => 33.9 MiB, /*stdout*\)
roundTripTest: datagen -g35000000 -P70 | zstd -v8 --single-thread --long | zstd -d8 --single-thread --long
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 21.85% ( 33.4 MiB => 7.29 MiB, /*stdout*\)
roundTripTest: datagen -g18000001 -P80 | zstd -v18 --single-thread --long | zstd -d18 --single-thread --long
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 14.31% ( 17.2 MiB => 2.46 MiB, /*stdout*\)
roundTripTest: datagen -g700M -P50 | zstd -v1 --single-thread --long=29 | zstd -d1 --single-thread --long=29
4449 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 7.98% ( 700 MiB => 55.8 MiB, /*stdout*\)
4496 roundTripTest: datagen -g600M -P50 | zstd -v1 --single-thread --long --zstd=wlog=29,clog=28 | zstd -d1 --single-thread --long --zstd=wlog=29,clog=28
4538 *** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
4561 fuzzer tests completed ed: 42.6 MiB - Compressed: 13.4 MiB => 31.40%
/*stdin*\ : 9.30% ( 600 MiB => 55.8 MiB, /*stdout*\)
===> zstdmt long round-trip tests
roundTripTest: datagen -g80000000 -P99 | zstd -v19 -T2 | zstd -d
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 5.75% ( 76.3 MiB => 4.39 MiB, /*stdout*\)
roundTripTest: datagen -g5000000000 -P99 | zstd -v1 -T2 | zstd -d
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 9.36% ( 4.66 GiB => 446 MiB, /*stdout*\)
roundTripTest: datagen -g500000000 -P97 | zstd -v1 -T999 | zstd -d
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 9.86% ( 477 MiB => 47.0 MiB, /*stdout*\)
fileRoundTripTest: datagen -g4103M -P98 > tmp && zstd -v -T0 -c tmp | zstd -d
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
Note: 16 physical core(s) detected
tmp : 10.20% ( 4.01 GiB => 418 MiB, /*stdout*\)
roundTripTest: datagen -g400000000 -P97 | zstd -v1 --long=24 -T2 | zstd -d
*** Zstandard CLI (64-bit) v1.5.7, by Yann Collet ***
/*stdin*\ : 8.21% ( 381 MiB => 31.3 MiB, /*stdout*\)
===> cover dictionary builder : advanced options
- Create first dictionary
Training on 28 samples of total size 929463
Testing on 28 samples of total size 929463
Constructing partial suffix array
Computing frequencies
WARNING: The maximum dictionary size 112640 is too large compared to the source size 929456! size(source)/size(dictionary) = 8.251563, but it should be >= 10! This may lead to a subpar dictionary! We recommend training on sources at least 10x, and preferably 100x the size of the dictionary!
Building dictionary
Breaking content into 612 epochs of size 1518
statistics ...
Constructed dictionary of size 112640
Save dictionary of size 112640 into file tmpDict
tmp : 18.55% ( 76.6 KiB => 14.2 KiB, tmp.zst)
error : can't use -D and --patch-from=# at the same time
tmp.zst : 78430 bytes
! Warning : nb of samples too low for proper processing !
! Please provide _one file per sample_.
! Alternatively, split files into fixed-size blocks representative of samples, with -B#
Error 14 : nb of samples too low
- Create second (different) dictionary
Training on 41 samples of total size 996963
Testing on 41 samples of total size 996963
Constructing partial suffix array
Computing frequencies
WARNING: The maximum dictionary size 112640 is too large compared to the source size 996956! size(source)/size(dictionary) = 8.850817, but it should be >= 10! This may lead to a subpar dictionary! We recommend training on sources at least 10x, and preferably 100x the size of the dictionary!
Building dictionary
Breaking content into 502 epochs of size 1985
statistics ...
Constructed dictionary of size 112640
Save dictionary of size 112640 into file tmpDictC
tmp.zst : Decoding error (36) : Dictionary mismatch
- Create dictionary using shrink-dict flag
Trying 558 different sets of parameters
WARNING: The maximum dictionary size 112640 is too large compared to the source size 929456! size(source)/size(dictionary) = 8.251563, but it should be >= 10! This may lead to a subpar dictionary! We recommend training on sources at least 10x, and preferably 100x the size of the dictionary!
k=834
d=6
steps=256
split=100
Save dictionary of size 112640 into file tmpShrinkDict
Trying 558 different sets of parameters
WARNING: The maximum dictionary size 112640 is too large compared to the source size 929456! size(source)/size(dictionary) = 8.251563, but it should be >= 10! This may lead to a subpar dictionary! We recommend training on sources at least 10x, and preferably 100x the size of the dictionary!
k=834
d=6
steps=256
split=100
Save dictionary of size 112640 into file tmpShrinkDict1
Trying 558 different sets of parameters
WARNING: The maximum dictionary size 112640 is too large compared to the source size 929456! size(source)/size(dictionary) = 8.251563, but it should be >= 10! This may lead to a subpar dictionary! We recommend training on sources at least 10x, and preferably 100x the size of the dictionary!
k=834
d=6
steps=256
split=100
Save dictionary of size 112640 into file tmpShrinkDict2
Trying 558 different sets of parameters
WARNING: The maximum dictionary size 112640 is too large compared to the source size 929456! size(source)/size(dictionary) = 8.251563, but it should be >= 10! This may lead to a subpar dictionary! We recommend training on sources at least 10x, and preferably 100x the size of the dictionary!
k=834
d=6
steps=256
split=100
Save dictionary of size 112640 into file tmpShrinkDict3
- Create dictionary with short dictID
Training on 28 samples of total size 929463
Testing on 28 samples of total size 929463
Constructing partial suffix array
Computing frequencies
WARNING: The maximum dictionary size 112640 is too large compared to the source size 929456! size(source)/size(dictionary) = 8.251563, but it should be >= 10! This may lead to a subpar dictionary! We recommend training on sources at least 10x, and preferably 100x the size of the dictionary!
Building dictionary
Breaking content into 612 epochs of size 1518
statistics ...
Constructed dictionary of size 112640
Save dictionary of size 112640 into file tmpDict1
tmpDict tmpDict1 differ: char 5, line 1
- Create dictionary with size limit
Trying 18 different sets of parameters
k=1265
d=6
steps=8
split=100
Save dictionary of size 4096 into file tmpDict2
- Compare size of dictionary from 90% training samples with 80% training samples
Trying 82 different sets of parameters
WARNING: The maximum dictionary size 112640 is too large compared to the source size 900338! size(source)/size(dictionary) = 7.993058, but it should be >= 10! This may lead to a subpar dictionary! We recommend training on sources at least 10x, and preferably 100x the size of the dictionary!
k=1058
d=6
steps=40
split=90
Save dictionary of size 112640 into file dictionary
Trying 82 different sets of parameters
WARNING: The maximum dictionary size 112640 is too large compared to the source size 673220! size(source)/size(dictionary) = 5.976740, but it should be >= 10! This may lead to a subpar dictionary! We recommend training on sources at least 10x, and preferably 100x the size of the dictionary!
k=530
d=8
steps=40
split=80
Save dictionary of size 112640 into file dictionary
- Create dictionary using all samples for both training and testing
Trying 82 different sets of parameters
WARNING: The maximum dictionary size 112640 is too large compared to the source size 929456! size(source)/size(dictionary) = 8.251563, but it should be >= 10! This may lead to a subpar dictionary! We recommend training on sources at least 10x, and preferably 100x the size of the dictionary!
k=626
d=6
steps=40
split=100
Save dictionary of size 112640 into file dictionary
- Test -o before --train-cover
Trying 82 different sets of parameters
WARNING: The maximum dictionary size 112640 is too large compared to the source size 929456! size(source)/size(dictionary) = 8.251563, but it should be >= 10! This may lead to a subpar dictionary! We recommend training on sources at least 10x, and preferably 100x the size of the dictionary!
k=626
d=6
steps=40
split=100
Save dictionary of size 112640 into file tmpDict
Trying 82 different sets of parameters
WARNING: The maximum dictionary size 112640 is too large compared to the source size 929456! size(source)/size(dictionary) = 8.251563, but it should be >= 10! This may lead to a subpar dictionary! We recommend training on sources at least 10x, and preferably 100x the size of the dictionary!
k=626
d=6
steps=40
split=100
Save dictionary of size 112640 into file dictionary
make[3]: Leaving directory '/opt/zstd-1.5.7/tests'
make[2]: *** [Makefile:85: test] Error 2
make[2]: Leaving directory '/opt/zstd-1.5.7'
rm -fr -- /tmp/dh-xdg-rundir-hjfkcybi
dh_auto_test: error: make -j16 test returned exit code 2
make[1]: *** [debian/rules:70: build] Error 255
make[1]: Leaving directory '/opt/zstd-1.5.7'
make: *** [debian/rules:36: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2