Skip to main content

BenchRoutine

Type Alias BenchRoutine 

Source
pub type BenchRoutine<'routine> = Box<dyn FnMut(BenchRounds) -> Duration + 'routine>;
Expand description

What one case runs: the rounds of one sample, answering how long they took.

Aliased Typeยง

pub struct BenchRoutine<'routine>(/* private fields */);