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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file zbench-0.1.0.tar.gz.

File metadata

  • Download URL: zbench-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for zbench-0.1.0.tar.gz
Algorithm Hash digest
SHA256 85dc34c99d9acd874094c2a1abf00e064157f9c8011933ff3732d08e6f25c3a5
MD5 eef5f67ea07216c597bd68d1192b1515
BLAKE2b-256 8dfb99b253351fbd46724738c13018c9c66382458c9ce1e1b479b8c200164913

See more details on using hashes here.

File details

Details for the file zbench-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: zbench-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for zbench-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d51329ac6d4c789a1bda34728f2fb9adba70b6234b95fd8ea04e57512480642b
MD5 2b4928193ce7cd0bd471c8b060695104
BLAKE2b-256 b53b3013aaf904d44fb9068035fe4599a1d56876079731bdfff98e5aad5c1007

See more details on using hashes here.

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