Function microbench::bench_setup [] [src]

pub fn bench_setup<I, S, T, F>(options: &Options, name: &str, setup: S, f: F) where S: FnMut() -> I, F: FnMut(I) -> T

Benchmarks the supplied function ignoring setup time and prints the results.

See measure_setup for more information.