lkml.org 
[lkml]   [2009]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/7] Adding general performance benchmarking subcommand to perf.

* Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> wrote:

> Adding general performance benchmarking subcommand to perf.
> This patch adds bench/sched-messaging.c.
> This benchmark measures performance of scheduler and IPC mechanisms,
> and is based on hackbench by Rusty Russell.
>
> Example of use:
>
> % perf bench sched messaging # Use default options
> 0.295 # Result is time
> % perf bench sched messaging -p -l 1000 -t
> 2.265

Would be nice to standardize the options too, and offer a help line:

perf bench sched --help

perhaps 'perf bench sched' should list all available benchmark modules,
and print a oneliner summary about each of them?

Ingo


\
 
 \ /
  Last update: 2009-11-03 18:31    [W:0.044 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site