Skip to main content

bench_function_with_config

Function bench_function_with_config 

Source
pub fn bench_function_with_config<F, R>(
    name: impl Into<String>,
    config: &MeasurementConfig,
    f: F,
) -> BenchmarkResult
where F: FnMut() -> R,
Expand description

Measure execution time with custom configuration