Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
groot/riofs: align default compression settings w/ ROOT
groot was using flate.BestCompression (zlib and level=9) whereas ROOT/C++ is using flate.BestSpeed (zlib and level=1). This CL configures groot to use flate.DefaultCompression (and zlib). On "typical" payloads this amounts to: ``` $> time ./new-dbg -zip=zlib-1 -o groot-zlib-1.root real 0m9.469s user 0m8.644s sys 0m0.872s $> time ./new-dbg -zip=zlib-6 -o groot-zlib-6.root real 0m10.832s user 0m10.422s sys 0m0.972s $> time ./new-dbg -zip=zlib-9 -o groot-zlib-9.root ([email protected] default) real 0m32.415s user 0m32.550s sys 0m1.086s ``` and for the disk sizes: ``` $> ll total 510M 87M Nov 12 15:19 groot-zlib-1.root 77M Nov 12 15:18 groot-zlib-6.root 67M Nov 12 15:19 groot-zlib-9.root ([email protected] default) ``` Signed-off-by: Sebastien Binet <[email protected]>
- Loading branch information