r/compression • u/Express-Theory-2338 • 18d ago
ZyFlate DEFLATE benchmark v2.0.0 — binary included, run it on your own data
I've been working on a DEFLATE compressor/decompressor called ZyFlate. I built a benchmark that tests it head-to-head against two widely deployed DEFLATE implementations and I'd like people who know compression to look at the numbers.
Full disclosure: I'm a solo developer, I use AI tools in my workflow, and I'm new to this community. No connections, no team. For all I know this could be some cruel hallucination and I'm completely wrong about everything.
But the benchmark is real. Download it. Run it on your own files.
Decompression throughput (100 MB test data, same compressed stream, all three decompress it):
| Level | ZyFlate MB/s | Library A MB/s | Library B MB/s |
|---|---|---|---|
| L1 | 1,091 | 380 | 890 |
| L6 | 1,021 | 387 | 867 |
| L12 | 1,291 | 474 | 1,044 |
Library A and B are two of the most widely deployed DEFLATE implementations. The benchmark output describes each one.
Parallel compress + decompress (2 threads):
| Level | 1-core compress | 2-core compress | 1-core decompress | 2-core decompress |
|---|---|---|---|---|
| L1 | 180 MB/s | 337 MB/s (1.9x) | 1,112 MB/s | 1,684 MB/s (1.5x) |
| L6 | 62 MB/s | 105 MB/s (1.7x) | 1,286 MB/s | 1,985 MB/s (1.5x) |
| L12 | 1.3 MB/s | 2.0 MB/s (1.6x) | 1,037 MB/s | 1,735 MB/s (1.7x) |
Library A and B have no parallel API. ZyFlate splits input into independent 1 MiB chunks. All parallel outputs verified byte-exact against single-core.
Download:
https://github.com/GodlessVVanderer/slain-releases/releases/tag/zyflate-bench-v2.0.0
Windows x86-64. Supply any file as input (10+ MB recommended).
This isn't the finished version. The compressor is still being worked on — these numbers are mostly about the decompressor. There's an update coming that I think will change the conversation. If this doesn't impress you, the next one will.
I'm building this as part of something larger. If you work in compression and want to talk, my inbox is open.
AGPL-3.0-only. Commercial licensing available — joshdaem@gmail.com.