benchmark

Function benchmark 

Source
pub fn benchmark<F>(name: &str, iterations: usize, f: F) -> Duration
where F: Fn(),
Expand description

Benchmark a function with multiple iterations