pub fn bench_function_n<F, O>(
n: usize,
f: F,
) -> Result<Vec<MeasureResult>, BenchmarkError>Expand description
Run a function for 5 seconds and measure its execution time.
pub fn bench_function_n<F, O>(
n: usize,
f: F,
) -> Result<Vec<MeasureResult>, BenchmarkError>Run a function for 5 seconds and measure its execution time.