On Sat, Apr 01, 2017 at 07:20:12PM +0100, Chris Lamb wrote:
> > my quick tests show that `bzip -9` produces the smallest file.
 
it also takes 17 times as long as using gzip:

$ cp reproducible.json test.json
$ time bzip2 test.json

real    0m17.940s
user    0m17.824s
sys     0m0.092s
$ cp reproducible.json test.json
$ time gzip test.json

real    0m1.117s
user    0m1.012s
sys     0m0.100s

but, yeah 1207527 bytes for test.json.bz2, while 2130658 for test.json.gz…
so I guess that's pretty relevant here…

> +import bz2
> +    (bz2.BZ2File, REPRODUCIBLE_JSON + '.bz2'),
 
that uses just one core, right?

and, as said on irc: please push the branch…


-- 
cheers,
        Holger

Attachment: signature.asc
Description: Digital signature

Reply via email to