pub struct RegressionAnalyzer { /* private fields */ }Expand description
Regression analysis configuration and engine
Implementations§
Source§impl RegressionAnalyzer
impl RegressionAnalyzer
Sourcepub fn with_baseline_strategy(self, strategy: BaselineStrategy) -> Self
pub fn with_baseline_strategy(self, strategy: BaselineStrategy) -> Self
Set baseline strategy
Sourcepub fn with_significance_threshold(self, threshold: f64) -> Self
pub fn with_significance_threshold(self, threshold: f64) -> Self
Set significance threshold
Sourcepub fn with_trend_window(self, window: usize) -> Self
pub fn with_trend_window(self, window: usize) -> Self
Set trend window size
Sourcepub fn analyze(
&self,
results: &HashMap<String, BenchmarkResult>,
historical: &HistoricalResults,
) -> RegressionReport
pub fn analyze( &self, results: &HashMap<String, BenchmarkResult>, historical: &HistoricalResults, ) -> RegressionReport
Analyze current results against historical data
Trait Implementations§
Source§impl Clone for RegressionAnalyzer
impl Clone for RegressionAnalyzer
Source§fn clone(&self) -> RegressionAnalyzer
fn clone(&self) -> RegressionAnalyzer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegressionAnalyzer
impl Debug for RegressionAnalyzer
Auto Trait Implementations§
impl Freeze for RegressionAnalyzer
impl RefUnwindSafe for RegressionAnalyzer
impl Send for RegressionAnalyzer
impl Sync for RegressionAnalyzer
impl Unpin for RegressionAnalyzer
impl UnsafeUnpin for RegressionAnalyzer
impl UnwindSafe for RegressionAnalyzer
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