pub struct BenchmarkResult {
pub iterations: usize,
pub min_duration: Duration,
pub max_duration: Duration,
pub avg_duration: Duration,
pub median_duration: Duration,
pub total_duration: Duration,
}Expand description
Benchmark result
Fields§
§iterations: usizeNumber of iterations
min_duration: DurationMinimum duration
max_duration: DurationMaximum duration
avg_duration: DurationAverage duration
median_duration: DurationMedian duration
total_duration: DurationTotal duration
Trait Implementations§
Source§impl Clone for BenchmarkResult
impl Clone for BenchmarkResult
Source§fn clone(&self) -> BenchmarkResult
fn clone(&self) -> BenchmarkResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BenchmarkResult
impl RefUnwindSafe for BenchmarkResult
impl Send for BenchmarkResult
impl Sync for BenchmarkResult
impl Unpin for BenchmarkResult
impl UnwindSafe for BenchmarkResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more