pub struct RegressionDetector {
pub min_samples: usize,
pub confidence: f64,
pub threshold: f64,
pub require_large_effect: bool,
pub bootstrap_iterations: usize,
}Expand description
Performance regression detector. Uses bootstrap confidence intervals per Hoefler & Belli [8].
Fields§
§min_samples: usizeMinimum number of samples for statistical significance.
confidence: f64Confidence level for bootstrap CI.
threshold: f64Regression threshold (fraction, e.g., 0.05 = 5%).
require_large_effect: boolRequire large effect size (Cohen’s d >= 0.8) in addition to CI.
bootstrap_iterations: usizeNumber of bootstrap resamples.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RegressionDetector
impl RefUnwindSafe for RegressionDetector
impl Send for RegressionDetector
impl Sync for RegressionDetector
impl Unpin for RegressionDetector
impl UnsafeUnpin for RegressionDetector
impl UnwindSafe for RegressionDetector
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more