bench_function

Function bench_function 

Source
pub fn bench_function<F, R>(name: impl Into<String>, f: F) -> BenchmarkResult
where F: FnMut() -> R,
Expand description

Measure execution time of a function with default configuration