2025-08-17 22:57:52 -06:00

669 B

Data Compression Benchmark

This project benchmarks the performance of various compression algorithms (zstd, brotli, gzip) using different compression levels on all files in a given directory.

You can easily see which algorithm and setting is best for your use case, benchmarking on the actual files you'll be compressing.

Demo on a NodeJS project's static client files

!(Compression)[compression.png] !(Decompression)[decompression.png]

How to Run

The recommended way is to use uv to run from git:

uvx --from git+https://git.zi.fi/LeoVasanko/compression-benchmark.git compression-benchmark /path/to/folder