On Fri, Nov 09, 2012 at 12:26:19PM +0100, Bastian Blank wrote:
> | dpkg-deb: building package `linux-image-3.6-trunk-amd64' in `test.gzip.deb'.
> | dpkg-deb -Zgzip -b debian/linux-image-3.6-trunk-amd64 test.gzip.deb  62.96s 
> user 1.78s system 101% cpu 1:03.77 total

Some further tests show clearly why this is the case:

| gzip -c data.tar > /dev/null  6.51s user 0.04s system 99% cpu 6.548 total
| gzip -9c data.tar > /dev/null  61.46s user 0.08s system 99% cpu 1:01.54 total

dpkg-deb defaults to -9 for gzip. This mode takes ten times. This all
for an negligible advantage of 1% smaller package.

Bastian

-- 
No one may kill a man.  Not for any purpose.  It cannot be condoned.
                -- Kirk, "Spock's Brain", stardate 5431.6


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121109145253.ga31...@waldi.eu.org

Reply via email to