[−][src]Function benchmarking::measure_function
pub fn measure_function<F>(f: F) -> Result<MeasureResult, BenchmarkError> where
F: FnMut(&mut Measurer) + 'static,
Run a function 10 times and measure its execution time.
pub fn measure_function<F>(f: F) -> Result<MeasureResult, BenchmarkError> where
F: FnMut(&mut Measurer) + 'static,
Run a function 10 times and measure its execution time.