Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jun 2002 20:02:21 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Trish Lynch <trish@bsdunix.net>
Cc:        hackers@freebsd.org
Subject:   Project: a benchmark utility
Message-ID:  <XFMail.20020606200221.jhb@FreeBSD.org>
In-Reply-To: <20020606170509.O403-100000@femme.listmistress.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 06-Jun-2002 Trish Lynch wrote:
> 
> Question:
> 
>       what types of things can be done by people who are generally just
> learning thier way around some of the code? is there anyone willing to
> patiently work with a fast learner (yes, honestly my biggest fear is since
> that I'm entirely self taught is that I have some bad habits, and someone
> must be willing to LART me at every opportunity on them until I learn)
> 
>       I take intruction well, and I am willing at admit I know NOTHING
> and am willing to learn. Someone need help on anything they see that I can
> help out with in my unemployed spare time?
> 
>       I'd even be willing to jump into the deep end if there's someone
> williong to teach me how to tread water.

Actually, if there's a Perl/Tcl/Python/C/C++/shell hacker running around I
could use a decent benchmarking tool to compare stable and current.  Basically,
what I would like is to be able to do the following:

bench -n <number of trials> <command to run>

So for example:

bench -n 20 buildworld -j4

To run my buildworld script 20 times (with -j4 passed in as an argument to
buildworld).  I would like the program/script/whatever to collect time -l
stats for each iteration.  It can simply spit the time -l output to a simple
text file in a sensible format (one line per run, with a specific order of
columns for example, just the numbers to make the file easier to parse).

Once I have that, it would be nice to have a simple tool that would take one
of these tabular files as input and spit out appropriate statistics about
each column (mean, mode, median, stddev, highlight outliers, etc.).  If
some sensible (i.e. meaningful) graphs can be generated from this data using
gnuplot or some such that would be nice, too.  Any takers?

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020606200221.jhb>