TurboBench README

The project's README from github.com/powturbo/TurboBench. As one markdown file: README.md.

TurboBench:Compressor Benchmark

Build ubuntu

TurboBench Logo

TurboBench: The Ultimate Data Compression Benchmark

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.

Why TurboBench Stands Out

Broad Platform Support

Linux (amd/intel, ARM, RISC-V, PowerPC, s390x, loongson), macOS (Apple M1–M5), and Windows (MSYS2, MinGW, Visual C++).

Rich, Ready-to-Use Outputs

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:

Benchmark:

TurboBench vs LzBench

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 ✅ ❌
- Groups FASTEST,FAST,EFFICIENT,MAX,OPTIMAL,BWT:
- Codecs:
- Print + Plot
- Bar/Scatter charts

Compile:

		git clone --depth=1 --recursive https://github.com/powturbo/TurboBench.git
    cd TurboBench
		make

Environment:

OS/Compiler (32 + 64 bits):

Plugins:

Compressor Lz77,Rolz,Bwt,zpaq:

Integer / Floating point:

Entropy coder:

bitwise range coder
bytewise range coder
ABS: Asymmetric binary systems
ANS: Asymmetric Numeral Systems
Huffman Coding
memcpy

Encoding:

Transform:

TurboBench Manual

Usage

turbobench [options] [file(s)]

General Options

Size Modifiers (s):

Benchmark Options

Check Options

Output & Plotting Options

Multiblock/Join

Predefined Groups: (see turbobench.ini file)

Examples

./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

Last update: 21 SEP 2026

TurboBench (powturbo/TurboBench)

Searching Database…

这是什么东西?TurboBench 是一个数据压缩基准测试工具:单个可执行文件就能在内存中测试 100 多种压缩器,并展示哪些在速度和压缩比上表现最好。
它是命令行工具,还是有图形界面的软件?它是一个命令行工具——一个零依赖的一体化可执行文件:不需要 Python,不需要图形库,没有安装程序,也不需要配置。
我怎么把它跑起来?从 GitHub Releases(nightly 构建)下载现成的可执行文件,或者自己编译:git clone --depth=1 --recursive,cd TurboBench,make;然后运行 ./turbobench -h 查看帮助。
测试文件的大小有限制吗?测试块最大为 1 GB,默认的基准测试文件大小也是 1 GB;如果是几 GB 的大文件,可以用 -B 调大(比如 -B4G)。
它能在哪些系统和 CPU 上运行?Linux(x86、ARM、RISC-V、PowerPC、s390x、loongson)、macOS(Apple M1–M5)和 Windows(MSYS2、MinGW 或 Visual C++),均有 32 位和 64 位版本。
LzTurbo 是什么?这是作者自己开发的压缩器;TurboBench 是唯一一个把它和 100 多种主流压缩算法放在一起测试的基准工具,方便你直接对比。
除了普通的文件压缩器,它还能测试别的东西吗?可以——包括整数和浮点数编解码器(Blosc、OpnZL、Pcodec)、原始熵编码器(ANS、range、Huffman)、TurboRLE 和 Base64 之类的编码,以及 BWT/Schindler 变换。
为什么它在测试时要控制 CPU 频率?为了减少 CPU 降频,否则长时间运行会导致结果失真;它还可以在长时间处理的间隔中休眠(-S 选项),以保证测量的准确性。
测试结果存在哪里?保存在 .tbb 结果文件中,每个压缩器组合一个文件(用 -a 选项时为 [email protected]);当你重新测试或添加压缩算法时,TurboBench 会自动排序、更新和合并这些文件。
What are similar projects?ripgrep, lz4, pyrowave, guetzli, simdjson, ttfx, spinel, ninja
Creator
powturbo
Size
53.9 MB
Stars
374
Age
10y
Commits · 90 Days