We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8a0f901 + 5ea5172 commit bd27e5dCopy full SHA for bd27e5d
site/src/comparison.rs
@@ -640,6 +640,8 @@ impl BenchmarkVariance {
640
const SIGNFICANT_CHANGE_THRESHOLD: f64 = 5.0;
641
/// The ratio of change that constitutes noisy data
642
const NOISE_THRESHOLD: f64 = 0.001;
643
+ /// The multiple of the IQR above Q3 that signifies significance
644
+ const IQR_MULTIPLIER: f64 = 3.0;
645
646
fn push(&mut self, value: f64) {
647
self.data.push(value);
@@ -677,7 +679,7 @@ impl BenchmarkVariance {
677
679
let q1 = median(&pcs[..=h1_end]);
678
680
let q3 = median(&pcs[h2_begin..]);
681
let iqr = q3 - q1;
- q3 + (iqr * 1.5)
682
+ q3 + (iqr * Self::IQR_MULTIPLIER)
683
}
684
685
fn calculate_description(&mut self) {
0 commit comments