Macro bencher::benchmark_main [] [src]

macro_rules! benchmark_main {
    ($($group_name:path),+) => { ... };
}

Define a fn main() that will run all benchmarks defined by the groups in $group_name.

The main function will read the first argument from the console and use it to filter the benchmarks to run.