压缩基准测试
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:
List all plugins + version: "./turbobench -l2"
List all compiled codecs: "./turbobench -l1"
type "./turbobench -h" for help
| 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 fileindividual 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 filePrint 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暂无开放 Issues,或尚未同步最近议题。