Trait liar::runner::Runner
[−]
[src]
pub trait Runner<S> { fn run<B, Ret>(&mut self, bench: &mut B) -> Sample<S>
where
B: Benchmark<Ret>; }
Executes a benchmark target to record a sample.
Required Methods
fn run<B, Ret>(&mut self, bench: &mut B) -> Sample<S> where
B: Benchmark<Ret>,
B: Benchmark<Ret>,
Runs and measures a target function according to the implementor's strategy, recording a sample of timing measurements.
Implementors
impl<T: Timer> Runner<f64> for FixedRunner<T>
impl<T: Timer> Runner<Round> for LinearRunner<T>