pub enum ValidationWarning {
InsufficientSamples {
actual: usize,
minimum: usize,
},
HighVariability {
actual: f64,
maximum: f64,
},
NoWarmup,
WidePerformanceRange {
ratio: f64,
},
ShortMeasurementTime {
duration: Duration,
},
}Expand description
Validation warnings for benchmark quality
Variants§
InsufficientSamples
Sample size too small for reliable analysis
HighVariability
Coefficient of variation too high
NoWarmup
No warmup iterations detected
WidePerformanceRange
Wide performance range suggests outliers
ShortMeasurementTime
Measurement time too short for accuracy
Trait Implementations§
Source§impl Clone for ValidationWarning
impl Clone for ValidationWarning
Source§fn clone(&self) -> ValidationWarning
fn clone(&self) -> ValidationWarning
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 ValidationWarning
impl Debug for ValidationWarning
Auto Trait Implementations§
impl Freeze for ValidationWarning
impl RefUnwindSafe for ValidationWarning
impl Send for ValidationWarning
impl Sync for ValidationWarning
impl Unpin for ValidationWarning
impl UnwindSafe for ValidationWarning
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