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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85dc34c99d9acd874094c2a1abf00e064157f9c8011933ff3732d08e6f25c3a5 |
|
MD5 | eef5f67ea07216c597bd68d1192b1515 |
|
BLAKE2b-256 | 8dfb99b253351fbd46724738c13018c9c66382458c9ce1e1b479b8c200164913 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d51329ac6d4c789a1bda34728f2fb9adba70b6234b95fd8ea04e57512480642b |
|
MD5 | 2b4928193ce7cd0bd471c8b060695104 |
|
BLAKE2b-256 | b53b3013aaf904d44fb9068035fe4599a1d56876079731bdfff98e5aad5c1007 |