Messages in this thread | | | Date | Mon, 09 Nov 2009 12:27:12 +0900 (JST) | Subject | Re: [PATCH v2 3/7] Adding general performance benchmarking subcommand to perf. | From | Hitoshi Mitake <> |
| |
From: Ingo Molnar <mingo@elte.hu> 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.
| |