From owner-freebsd-stable@FreeBSD.ORG Wed Aug 9 17:18:07 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8B8216A4DA for ; Wed, 9 Aug 2006 17:18:07 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id D2E9843D4C for ; Wed, 9 Aug 2006 17:18:05 +0000 (GMT) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 09 Aug 2006 17:18:04 -0000 Received: from p54A7FAD5.dip.t-dialin.net (EHLO [192.168.0.12]) [84.167.250.213] by mail.gmx.net (mp036) with SMTP; 09 Aug 2006 19:18:04 +0200 X-Authenticated: #5465401 Message-ID: <44DA18C1.9080104@gmx.de> Date: Wed, 09 Aug 2006 19:17:53 +0200 From: "[LoN]Kamikaze" Organization: Lords of Nightmare User-Agent: Thunderbird 1.5.0.5 (X11/20060729) MIME-Version: 1.0 To: Nikolas Britton References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: FreeBSD Stable List Subject: Re: gzip is faster with -O3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2006 17:18:08 -0000 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.