Variability in build times.

Ken Moffat zarniwhoop at ntlworld.com
Mon Oct 18 16:00:17 PDT 2010


On Mon, Oct 18, 2010 at 06:38:48PM -0400, linux fan wrote:
> start=$(date +%s)
> ... stuff happens ...
> end=$(date +%s)
> elaps=$(( end - start ))
> 
> Just thinking about eliminating the finger counting that time may do.
> My experience with time is that some time floats between user and sys
> on different runs that have an equal real time.

 Yes, but ... For my buildscripts, elapsed time.  For the figures
I've been taking from 'time' on subsequent scripts, the first field
which is "real" unless the order of fields has changed recently.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the blfs-dev mailing list