[][src]Function microbench::bench

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

Benchmarks the supplied function and prints the results.