From owner-cvs-all Fri Jul 24 23:10:45 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA14927 for cvs-all-outgoing; Fri, 24 Jul 1998 23:10:45 -0700 (PDT) (envelope-from owner-cvs-all) Received: from dana.clari.net.au (dana.clari.net.au [203.27.85.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA14727; Fri, 24 Jul 1998 23:09:40 -0700 (PDT) (envelope-from thepish@freebsd.org) Received: from localhost (thepish@localhost) by dana.clari.net.au (8.8.7/8.8.7) with SMTP id QAA03476; Sat, 25 Jul 1998 16:08:25 +1000 (EST) (envelope-from thepish@freebsd.org) X-Authentication-Warning: dana.clari.net.au: thepish owned process doing -bs Date: Sat, 25 Jul 1998 16:08:25 +1000 (EST) From: Peter Hawkins X-Sender: thepish@dana.clari.net.au To: Steve Kargl cc: phk@FreeBSD.ORG, cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/usr.bin/time time.1 time.c In-Reply-To: <199807241435.HAA07570@troutmask.apl.washington.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> There is no situation where this patch is required and it's quite a departure >> from the norms elsewhere. The consensus on the list seems to have been that >> this shouldn't be committed. >Clearly, you don't understand the PR. Think about the following > >kargl[204] time -l ls > /dev/null >kargl[206] time -l sh -c "ls > /dev/null" That's not the solution I suggested anyway :) Besides, I've lectured in benchmarking and know that you have to take many readings and take averages before you have any serious measure. The addition of "sh" is NOTHING compared to other random activities (whether the files you're reading are cached, whether the program itself is cached, whether a daemon starts during your test, whether you swap etc...) Even so, if you plan to be that accurate, you can in theory work out what sh itself takes and subtract, but it's going to be a case of X - 0.0 anyway. Peter Hilink Internet Peter Hawkins 381 Swan St Richmond, Vic, Australia Ph: +61-3-9421 2006 Fax: +61-3-9421 2007 http://www.hilink.com.au Peter@hilink.com.au FreeBSD Project: thepish@FreeBSD.org