1
0
mirror of https://github.com/lz4/lz4.git synced 2026-10-28 14:59:38 +03:00
Files
lz4/programs/bench.c
Yann Collet 9b216eb03f lz4 CLI: benchmark measures frames with the CLI options and -T# ; new option --single-thread
lz4 -b compresses each file into a frame, as lz4 does with the same options (-B#, -BD, -BX, --content-size,
--favor-decSpeed, -D, -T#), sharing their derivation (LZ4IO_framePreferences()), except the content checksum,
disabled unless --frame-crc. By default, one compression thread (as -T1) : same frames as lz4.
--single-thread : frames compressed by the main thread alone, in liblz4's single-threaded mode (nbWorkers == 0),
for compression and benchmark ; with linked blocks, output can differ from -T1.
2026-10-25 18:54:33 -07:00

31 KiB