[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Something like nocompress DEB_BUILD_OPTION

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.


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

Reply to: