Date: Wed, 09 Aug 2006 19:17:53 +0200 From: "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> To: Nikolas Britton <nikolas.britton@gmail.com> Cc: FreeBSD Stable List <freebsd-stable@freebsd.org> Subject: Re: gzip is faster with -O3 Message-ID: <44DA18C1.9080104@gmx.de> In-Reply-To: <ef10de9a0608090649k78d87350v638b2d3f1432e735@mail.gmail.com> References: <ef10de9a0608090649k78d87350v638b2d3f1432e735@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Nikolas Britton wrote: > dd if=/dev/random of=testfile bs=1m count=5000 > > gzip compiled with -O3: > # date ; nice -10 ./gzip -c9 testfile > testfile.gz ; date > Wed Aug 9 08:01:21 CDT 2006 > Wed Aug 9 08:09:06 CDT 2006 > 465 Seconds. > > gzip compiled with -O2: > # date ; nice -10 ./gzip -c9 testfile > testfile.gz ; date > Wed Aug 9 08:19:14 CDT 2006 > Wed Aug 9 08:27:06 CDT 2006 > 472 Seconds. > > 7 second difference, it's not much but I still wanted to share it with > the group. > > You should use /bin/time for measuring.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44DA18C1.9080104>