Skip to main content

Compression benchmarks

Project description

zbench

This package benchmarks lossless compression algorithms like gzip and bzip2, facilitating quick comparison of the trade-offs between disk space and CPU time on your file(s).

It is implemented in Python and provides a command line tool, zbench.

Install from PyPI:

pip install zbench

Example

$ zbench setup.cfg
path      algorithm size percentage time
setup.cfg raw_py     853   100.000% 0.000
setup.cfg gzip_py    488    57.210% 0.000
setup.cfg bz2_py     547    64.127% 0.000
setup.cfg lzma_py    572    67.057% 0.011
setup.cfg zlib_py    476    55.803% 0.000

License

Copyright 2020 Christopher Brown. MIT Licensed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zbench-0.1.0.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

zbench-0.1.0-py2.py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page