[Pkg-chromium-maint] Bug#676774: chromium-browser: consider to use xz to compress orig.tar file (to cut 138MB)

Hideki Yamane henrich at debian.or.jp
Sat Jun 9 08:46:12 UTC 2012

Package: chromium-browser
Version: 20.0.1132.21~r139451-1
Severity: wishlist


 chromium-browser orig.tar file in source package is compressed with
 bzip2 and its size seems to be huge (510MB), so I suggest to use xz
 insead of bzip2.


1. check compressed size

$ du -k chromium-browser_20.0.1132.21~r139451.orig.tar.bz2 
510532	chromium-browser_20.0.1132.21~r139451.orig.tar.bz2

$ bzip2 -d chromium-browser_20.0.1132.21~r139451.orig.tar.bz2
$ time xz -9e chromium-browser_20.0.1132.21~r139451.orig.tar

real	22m3.071s
user	21m37.881s
sys	0m20.085s

$ du -k chromium-browser_20.0.1132.21~r139451.orig.tar.xz
394160	chromium-browser_20.0.1132.21~r139451.orig.tar.xz

2. compare extract time

$ time bzip2 -d chromium-browser_20.0.1132.21~r139451.orig.tar.bz2

real	1m5.802s
user	1m1.260s
sys	0m2.240s

$ time xz -d chromium-browser_20.0.1132.21~r139451.orig.tar.xz

real	0m48.134s
user	0m24.342s
sys	0m2.328s

 523MB(bzip2) -> 385MB(xz) = 138 MB

 reducing approximately 130MB with no performance reduction when it
 is uncompressed, isn't it enough? Please consider to use xz with 
 next new upstream release.


 Hideki Yamane     henrich @ debian.or.jp/org

More information about the Pkg-chromium-maint mailing list