pub struct ScalingStats {
pub scaling: Scaling,
pub goodness_of_fit: f64,
pub iterations: usize,
pub samples: usize,
}Expand description
Statistics for a benchmark run determining the scaling of a function.
Fields§
§scaling: Scaling§goodness_of_fit: f64§iterations: usizeHow many times the benchmarked code was actually run.
samples: usizeHow many samples were taken (ie. how many times we allocated the environment and measured the time).
Trait Implementations§
Source§impl Clone for ScalingStats
impl Clone for ScalingStats
Source§fn clone(&self) -> ScalingStats
fn clone(&self) -> ScalingStats
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 moreSource§impl Debug for ScalingStats
impl Debug for ScalingStats
Source§impl Display for ScalingStats
impl Display for ScalingStats
Source§impl PartialEq for ScalingStats
impl PartialEq for ScalingStats
impl StructuralPartialEq for ScalingStats
Auto Trait Implementations§
impl Freeze for ScalingStats
impl RefUnwindSafe for ScalingStats
impl Send for ScalingStats
impl Sync for ScalingStats
impl Unpin for ScalingStats
impl UnwindSafe for ScalingStats
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