Function microbench::bench [] [src]

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

Benchmarks the supplied function and prints the results.