[−][src]Function benchmarking::bench_function_n
pub fn bench_function_n<F, O>(
n: usize,
f: F
) -> Result<Vec<MeasureResult>, BenchmarkError> where
F: FnMut(&mut [Measurer]) -> O + 'static,
Run a function for 5 seconds and measure its execution time.