[][src]Function microbench::bench_setup

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

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

See measure_setup for more information.