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