benchmark_function

Function benchmark_function 

Source
pub fn benchmark_function<F, R>(
    f: F,
    iterations: usize,
    warmup_iterations: usize,
) -> BenchmarkResult
where F: Fn() -> R,
Expand description

Benchmark a function multiple times