Function microbench::bench_setup

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

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

See measure_setup for more information.