Struct microbench::Options
[−]
[src]
pub struct Options { /* fields omitted */ }
Benchmarking options.
Methods
impl Options
[src]
fn factor(self, factor: f64) -> Self
Sets the geometric growth factor for sample iterations.
Default: 1.01
fn maximum(self, maximum: Duration) -> Self
Sets the maximum amount of time a benchmark will run for.
Default: Duration::new(5, 0)
Trait Implementations
impl Copy for Options
[src]
impl Clone for Options
[src]
fn clone(&self) -> Options
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more