The project's README from github.com/powturbo/TurboBench. As one markdown file: README.md.
100+ Codecs. The Powerhouse in a Single Executable — The Compression Lie Detector
Tired of misleading benchmarks with I/O overhead, cache effects, and CPU throttling? TurboBench delivers high-precision, zero-overhead results you can actually trust.
Linux (amd/intel, ARM, RISC-V, PowerPC, s390x, loongson), macOS (Apple M1–M5), and Windows (MSYS2, MinGW, Visual C++).
All-in-one executable — no Python, no extra graphic libraries, zero dependencies, zero installers, zero configuration, no hassle. Just download, run, and benchmark.
Perfect for developers, researchers, and performance enthusiasts who demand accurate, apples-to-apples comparisons.
TurboBench — Precision you can rely on. The gold standard for compression benchmarking. 🚀
Try it now:
| Feature | TurboBench | Lzbench |
|---|---|---|
| Benchmark | ||
| Large number of codecs (isa-l/zlib-ng/blosc,...) | ✅ | ⚠️ |
| Control throttling via CPU frequency | ✅ | ❌ |
| Automatic sorting, updating & merging of result files | ✅ | ❌ |
| In-place progress display (compression/decompression speed) | ✅ | ❌ |
| Separate results for each compressor set | ✅ | ❌ |
| Data Handling | ||
| Concatenation of small files into one multiblock file | ✅ | ❌ |
| Independent compression of many small files | ✅ | ❌ |
| Multiple files & recursive directories | ✅ | ✅ |
| Support for very large files (multi-GB) | ✅ | ⚠️ |
| Dictionary support | ✅ | ❌ |
| Codec parameter support | ✅ | ❌ |
| Metrics | ||
| Rank aggregation & score with medals | ✅ | ❌ |
| Pareto-front visualization | ✅ | ❌ |
| Multiple output formats (HTML, Markdown, CSV, encode.su) | ✅ | ⚠️ |
| SVG bar & scatter images | ✅ | ❌ |
| Transfer-speed sheets (GPRS → 5G, HDD, SSD, RAM,...) | ✅ | ❌ |
| Peak memory/Stack usage (compress + decompress) | ✅ | ❌ |
| Codec & Configuration Coverage | ||
| Cross-platform support (x86, ARM, RISC-V, PowerPC…) | ✅ | ⚠️ |
| Submodule architecture with automatic codec update | ✅ | ❌ |
| Use codecs’ built-in tools, matching original builds & optimizations | ✅ | ❌ |
| Advanced | ||
| Incremental benchmarking | ✅ | ❌ |
| Simple integration of new codecs | ✅ | ❌ |
| Nightly GitHub release w. executables | ✅ | ❌ |
test all fast compressors in the lz4, lzturbo, zlib class
(additional groups can be defined in the "turbobench.ini" file)
./turbobench -eFAST file
Some codecs can accept additional parameters (see option -l1 or file plugins.cc) (colon ':' as separator)
./turbobench -elzma,9mt2:d29:a1:fb273:mf=bt4:mc999:lc8:lp0:pb2 file
individual codec test (output to screen & file.tbb)
./turbobench -elzturbo,19,29,39/brotli,6/zlib,6 file
retest or test other compressors and merge the results to file.tbb
./turbobench -eFAST/bzip2 file
creates a separate result file ([email protected]) for each compressor set with the 'a' option
./turbobench -eTURBO -aTURBO file
./turbobench -eFAST -aFAST file
./turbobench -eturborc,1/pivco,0,1 -aec file
Print result file + "transfer+decompression speedup" plot to (file.html -p2) for browsing, (file.md -p4) Markdown format
./turbobench -p2 -S2 file.tbb ./turbobench -p4 file.tbb
git clone --depth=1 --recursive https://github.com/powturbo/TurboBench.git
cd TurboBench
make
| Compressor | Added | Language | Comment |
|---|---|---|---|
| LzTurbo | c | ||
| axz | 2026/12 | c MT | lz |
| aceapex | 2026/10 | c++/cuda MT | lz |
| AMD AOCL | 2026/09 | c++ MT | tuned lz4,zstd,bzip2 for amd64 |
| Blaris | 2026/11 | c | lz / Microcontrollers/memory-constrained |
| BriefLz | c | lz | |
| Brotli | c | lz+huffman | |
| Chameleon | c | lz | |
| CSC | c | lz | |
| Density | 2026/09 | rust | lz |
| Doboz | c | lz | |
| FastLz | c | lz | |
| Fast-lzma | c | lz+range coder | |
| Firetrail | zig | lz | |
| glza | c | lz+huffman | |
| Glyd | 2026/09 | rust MT | lz+huffman/tans |
| heatshrink | c | lz / Microcontrollers/memory-constrained | |
| Iguana | 2026/09 | c++ | Not reliable |
| Intel(R) ISA-L | c | lz+huffman, zlib compatible | |
| kanzi | 2026/07 | c++ MT | lz,bwt,paq |
| lib | 2026/09 | c | |
| Libdeflate | c | lz+huffman | |
| LibLZF | c | lz | |
| LibLz | c | lz | |
| LibSLZ | c | lz+huffman, zlib | |
| Lz0 | c | lz | |
| Lz4 | c | lz MT | |
| Lz4ultra | c | lz | |
| lzjody | c | lz | |
| lizard | c | lz+byte+huffman | |
| Lzfse | c | lz+tans | |
| Lzham v1.1 | c++ MT | lz+huffman | |
| Lzlib | 2026/09 | c | lz+range coder |
| Lzmat | c | lz | |
| Lzma | c MT | lz+range coder | |
| Lzo | c | lz | |
| Lzoma | c | lz | |
| lzraven | 2026/09 | c | Apple's reimplementation |
| LZSSE | c | lz | |
| LZSA | c | lz | |
| mbrotli | 2026/09 | rust | Brotli reimplementation |
| Memlz | 2026/07 | c | lz |
| Minlz | 2026/11 | go/asm | lz |
| Minlz-c | 2026/11 | c | lz (Experimental C-gist) |
| Miniz | c | lz+huffman | |
| misa77 | 2026/07 | c++/asm | lz |
| ms-compress | c++ | lz | |
| mzip | 2026/09 | c | too slow |
| mbrotli | 2026/10 | rust | zstd reimplementation |
| Oodle | c++ | windows/linux/macos x86_64/arm64 | |
| orz | 2026/11 | rust | rolz |
| Pithy | c | lz | |
| Quicklz | c | lz | |
| sap | c++ | lz+huffman | |
| shoco | c | short strings | |
| Shrinker | c | lz | |
| Smallz4 | c | lz | |
| smaz | c | short strings | |
| Snappy | c++ | lz | |
| Snappy-c | c | lz | |
| structured-zstd | 2026/11 | rust | zstd reimplementation |
| Tamp | 2026/07 | c | lz Microcontrollers/memory-constrained |
| Tinyuz | 2026/11 | c | lz Microcontrollers/memory-constrained |
| Tornado | c++ | lz+huffman | |
| Unishox | c | short strings | |
| wfLZ | c | lz | |
| wzip | 2026/10 | c MT | wlz4:lz wzip:lz+huffman |
| yalz77 | c | lz | |
| yappy v2011 | c | lz | |
| xpack | lz+huffman | ||
| xz | 2026/05 | c | lz+range coder |
| zlib | c | lz+huffman | |
| zlib cloudflare | c | lz+huffman | |
| zlib-ng | c | lz+huffman | |
| zlib-rs | 2026/11 | rust | lz+huffman |
| zlib-turbo | c MT | lz+huffman | |
| zopfli | c | lz+huffman | |
| zstd | c MT | lz+huffman/tans | |
| zpaq | c++ | paq+range coder | |
| zxc | 2026/05 | c MT | lz |
| Compressor | Added | Language | Comment |
|---|---|---|---|
| bcm | 2026/10 | c++ | |
| libbsc/bsc | c++ MT | ||
| BwtSatan | 2026/09 | c MT | |
| bz2-ng | c | bzip2 api-compatible | |
| bzip2 | c | ||
| bzip3 | c | ||
| kanzi bwt (level 5,6,7) | 2026/07 | c++ MT | |
| Pulsar / rust | 2026/09 | c | very slow |
| Compressor | Added | Language | Comment |
|---|---|---|---|
| Blosc | c MT | integer/fp 8-64 | |
| OpnZL | 2026/07 | c++ | i8-i64,u8-u64,csv,... |
| Pcodec | 2026/09 | rust | i8-i64,u8-u64,f32,f64 |
| Compressor | Added | Language | Comment |
|---|---|---|---|
| Bitwise range coder | |||
| TurboRC-Range Coder | c | ||
| Bitwise RC v2010 | c | ||
| Bitwise vector RC v2012 | c | ||
| AOMedia AV1 entropy coder | c | ||
| Daala entropy coder | c | ||
| FastAri v15-10 | c | ||
| Bytewise range coder | |||
| TurboAC | c | ||
| subotin range coder v2000 | c | ||
| Fast AC v2006 | c | ||
| FQZ/PPMD Range Coder v15-03 | c | ||
| PPMD Range Coder v15-03 | c | ||
| rgc | 2026/11 | c | |
| sserangecoding | c | ||
| ABS: Asymmetric binary systems | |||
| Fpaqc:Asymmetric Binary Coder v07-12 | c++ | ||
| ANS: Asymmetric Numeral Systems | |||
| TurboANX-ANS | c | ||
| TurborANS | c | ||
| Finite State Coder v15-05 | c | ||
| Finite State Entropy v16-08 | c | ||
| Oodle tans | 2026/09 | c++ | windows/linux/macos |
| Huffman Coding | |||
| TurboHF-Huffmann v1.3 | c | ||
| Tornado Huf v0.6a | c++ | ||
| zlib Huffmann v1.2.8 | c | ||
| Fast HF v2006 | c | ||
| FPC | c | ||
| FSE Huff | c | ||
| Oodle huffman | 2026/09 | c++ | windows/linux/macos |
| Polar Codes v10-07 | c | ||
| Pivco-Huffman | 2026.07 | c++ |
| memcpy | Added | Language | Comment |
|---|---|---|---|
| inline memcpy | c | ||
| library memcpy | c |
| Compressor | Added | Language | Comment |
|---|---|---|---|
| TurboRLE | c | Turbo Run Length Encoding | |
| tcobs | c | short messages compression with COBS framing | |
| TurboBase64 | c | Turbo Base64 Encoding/Decoding | |
| fastbase64 | c | Base64 Encoding | |
| base64 | c | Fast Base64 stream encoder/decoder |
| Compressor | Added | Language | Comment |
|---|---|---|---|
| bwt:libdivsufsort | c | ||
| st: bsc schindler transform | c++ |
turbobench [options] [file(s)]
-eS : S = compressors/groups separated by /. Levels can be specified after ,. (e.g., -ezlib,1/FAST)-b#s : # = blocksize {filesize}, modifier 'K':KB 'k':KiB {'M':MB} 'm':MiB G:GB g:GiB. Ex. 1000 or 1000M -d# : # = log2 dictionary size: 15-30 {blocksize}. (Only brotli, lzham, lzlib, lzma, zstd)-B#s : # = max benchmark filesize {1GB} (e.g., -B4G)-s#s : # = min buffer size to duplicate & test small files (e.g., -s50)-r : process directories recursively-a# : Add category # to tbb filename. file.tbb -> file@#.tbbSize Modifiers (s):
K, M, G = 1,000, 1,000,000, 1,000,000,000k, m, h = 1024, 1MB, 1GB (default is m, e.g., 64k or 64K)-iX,Y : Decompression/Compression iterations {3}. e.g. -i15,15-t# : # = min time in seconds per iteration {1}-S# : Sleep # min after 2 min processing (minimizing CPU throttling)-K#t : Max time limit for all benchmarks {24h}. t = M:millisecond, s:second, m:minute, h:hour. (e.g., 3h)-D : No process real-time priority setting-C# : #=0 compress only, #=1 No check, #=2 ignore errors, #=3 exit on error, #=4 abort on error-f# : check reading/writing outside bounds: #=1 compress, #=2 decompress, #=3 both-v# # = verbosity 0..3 {1}
-RX,Y Show/Reveal only when compression/decompression speed > X/Y MB/s
-Kstr Rank Aggregation: str = combination of R/C/D = Ratio/Comp./Decomp. {RCD}
-kstr str = Remark/Comment string
`-U print memory/stack usage
-l# #=1 print all groups/plugins, #=2 print all codecs
-S# Plot transfer speed:
#=1 Comp speedup#=2 Decomp speedup#=3 Comp 'MB/s'#=4 Decomp 'MB/s' #=4 Comp+Decomp speedup#=5 Comp+Decomp 'MB/s'-p# : # = print format (1=text, 2=html, 3=htm, 4=markdown, 5/6=vBulletin, 7=csv, 8=tsv)
-Q# : # = Plot window size (0: 1920x1080, 1: 1600x900, 2: 1280x720, 3: 800x600) {1}
-g : -g = no merge w/ old result 'file.tbb', -gg = process w/o output (use for fuzzing)
-o : Print on standard output
-G : Plot memcpy
-w : Plot Speedup linear x-axis {log}
-z : Plot Ratio/Speed logarithmic x-axis {linear}
-Moutput : Step 1: Concatenate all input files into a single output file organized into multiple blocks -m : Step 2: Process each block independently from the merged file created in Step 1-N : Text files character delimiter (e.g., -N9 for newline, 1 block/line)./turbobench enwik9 -eFAST/bzip2/lzma,5,9
./turbobench enwik9 -eFAST/OPTIMAL/bsc,0:e2 -i0
./turbobench eECODER -k"entropy coder test"
./turbobench enwik9 -elzma,9:fb273:lc2:lp2:t2
./turbobench enwik9 -eFAST -aFAST
Blosc (i.e. ./turbobench -eblosc-zstd,3:Bb:u8 )
b# : blocksize {auto}
B: Filter 0: bitshuffle
S: Filter 0: Shuffle
D: Filter 0: Byte delta
e: Filter 1: delta
d: Filter 1: Byte delta
s: Filter 1: Shuffle
u# : # = typesize [1 .. 256] number of bytes {u4}
t# : threads
Lz4:
t# : threads
Acknowledgements:
Last update: 01 DEC 2026