Re: [PATCH v2 3/7] Adding general performance benchmarkingsubcommand to perf.
From: Hitoshi Mitake
Date: Sun Nov 08 2009 - 22:27:24 EST
From: Ingo Molnar <mingo@xxxxxxx>
Subject: Re: [PATCH v2 3/7] Adding general performance benchmarking subcommand to perf.
Date: Sun, 8 Nov 2009 12:30:13 +0100
> > >
> > > Shouldnt we output the unit of measurement, i.e. '4.575 usecs'? Also, we
> > > should perhaps print something like:
> > >
> > > % perf bench sched pipe
> > >
> > > (executing 1000000 pipe operations between two tasks)
> > >
> > > 4.575 usecs per op
> > > 218579 ops/sec
> > >
> > > ?
> >
> > I have to admit that single float value output is too simple.
> > So I'll fix the default output.
> >
> > But, I believe that simple form makes sense for
> > processing by scripts or graph tools like gnuplot.
> > I'll add the option (may be --simple) to switch
> > friendliness of outputs.
>
> Btw., could you make it Git-ish, i.e.:
>
> --format=short
>
> or:
>
> --format=simple
>
> Eventually more format options might be added.
It's good idea.
I have to admit that reserving -s for simple output is not good idea.
I'll do this.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/