[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gzip vs. bzip2
From: |
Bruno Haible |
Subject: |
Re: gzip vs. bzip2 |
Date: |
Thu, 5 Apr 2007 01:37:33 +0200 |
User-agent: |
KMail/1.5.4 |
Eric Blake wrote:
> Lately, many packages ship both .gz and .bz2 tarballs, although automake
> still
> defaults to .gz only. Is it time to more heavily encourage .bz2?
bzip2 is about 6 times slower upon decompression:
$ time gunzip -c < coreutils-6.9.tar.gz > /dev/null
real 0m1.982s
user 0m1.924s
sys 0m0.040s
$ time bunzip2 -c < coreutils-6.9.tar.bz2 > /dev/null
real 0m12.347s
user 0m12.197s
sys 0m0.074s
Therefore, for the purpose of "let's have a quick look at the sourcecode of
this or that package", .gz tarballs are better suited than .bz2 tarballs.
Those for whom a .bz2 tarball makes sense are those who download a package,
install it, and never again look at the sourcecode.
Guess on which side you find my sympathy...
Bruno
- Re: list of portable tools, (continued)
- Re: list of portable tools, Karl Berry, 2007/04/07
- Re: list of portable tools, Paul Eggert, 2007/04/09
- Re: list of portable tools, Karl Berry, 2007/04/09
- Re: list of portable tools, Paul Eggert, 2007/04/10
- Re: list of portable tools, Ralf Wildenhues, 2007/04/10
- Re: list of portable tools (was: Add 'Required Tools' to README?), Bruno Haible, 2007/04/05
- Re: Add 'Required Tools' to README?, Bruno Haible, 2007/04/04
- Re: gzip vs. bzip2,
Bruno Haible <=
- Re: gzip vs. bzip2, Matthew Woehlke, 2007/04/05
- Re: Add 'Required Tools' to README?, Bruno Haible, 2007/04/04
- Re: Add 'Required Tools' to README?, Paul Eggert, 2007/04/04
- Re: Add 'Required Tools' to README?, Ralf Wildenhues, 2007/04/04
- Re: Add 'Required Tools' to README?, Bruno Haible, 2007/04/04