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

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 Decompression

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

Notes

  • Contributions and forks are welcome
  • There is a Jupyter Notebook bench.ipynb as an option
Description
No description provided
Readme 453 KiB
Languages
Jupyter Notebook 60.5%
Python 39.5%