Skip to content

chbrown/zbench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Benchmark file compression algorithms to compare trade-offs between CPU and disk space consumption

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages