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