pub fn bench_function<F, R>(name: impl Into<String>, f: F) -> BenchmarkResultwhere
F: FnMut() -> R,Expand description
Measure execution time of a function with default configuration
pub fn bench_function<F, R>(name: impl Into<String>, f: F) -> BenchmarkResultwhere
F: FnMut() -> R,Measure execution time of a function with default configuration