2025-08-17 23:00:32 -06:00

25 lines
773 B
Markdown

# 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](https://github.com/astral-sh/uv) to run from git:
```fish
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