Function times::bench

source ·
pub fn bench(repeats: usize, names: &[&str], closures: &[fn()])
Expand description

Tests of listed closures that take no or constant arguments, named in names repeats runs of each closure.