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

Re: Something like nocompress DEB_BUILD_OPTION



On 9 November 2012 14:52, Bastian Blank <waldi@debian.org> wrote:
> 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.
>

Even without any option it defaults to -6, can you compare -1 as well?

Regards,

Dmitrijs.


Reply to: