Skip to content

Commit 54d028d

Browse files
committed
Fix rebase
1 parent 6664b2c commit 54d028d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/src/comparison.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ async fn compare_given_commits(
663663
benchmark: test_case.0,
664664
profile: test_case.1,
665665
scenario: test_case.2,
666-
stat,
666+
metric,
667667
historical_data: historical_data.data.remove(&test_case),
668668
results: (a, b),
669669
})
@@ -1041,7 +1041,7 @@ pub struct TestResultComparison {
10411041
benchmark: Benchmark,
10421042
profile: Profile,
10431043
scenario: Scenario,
1044-
stat: Stat,
1044+
metric: Metric,
10451045
historical_data: Option<HistoricalData>,
10461046
results: (f64, f64),
10471047
}
@@ -1110,7 +1110,7 @@ impl TestResultComparison {
11101110
} else {
11111111
Magnitude::VeryLarge
11121112
};
1113-
let absolute_magnitude = self.stat.relative_change_magnitude(change * 100.0);
1113+
let absolute_magnitude = self.metric.relative_change_magnitude(change * 100.0);
11141114
fn as_u8(m: Magnitude) -> u8 {
11151115
match m {
11161116
Magnitude::VerySmall => 1,
@@ -1474,7 +1474,7 @@ mod tests {
14741474
benchmark: index.to_string().as_str().into(),
14751475
profile: Profile::Check,
14761476
scenario: Scenario::Empty,
1477-
stat: Stat::Instructions,
1477+
metric: Metric::Instructions,
14781478
historical_data: None,
14791479
results: (before, after),
14801480
});

0 commit comments

Comments
 (0)