File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -663,7 +663,7 @@ async fn compare_given_commits(
663
663
benchmark : test_case. 0 ,
664
664
profile : test_case. 1 ,
665
665
scenario : test_case. 2 ,
666
- stat ,
666
+ metric ,
667
667
historical_data : historical_data. data . remove ( & test_case) ,
668
668
results : ( a, b) ,
669
669
} )
@@ -1041,7 +1041,7 @@ pub struct TestResultComparison {
1041
1041
benchmark : Benchmark ,
1042
1042
profile : Profile ,
1043
1043
scenario : Scenario ,
1044
- stat : Stat ,
1044
+ metric : Metric ,
1045
1045
historical_data : Option < HistoricalData > ,
1046
1046
results : ( f64 , f64 ) ,
1047
1047
}
@@ -1110,7 +1110,7 @@ impl TestResultComparison {
1110
1110
} else {
1111
1111
Magnitude :: VeryLarge
1112
1112
} ;
1113
- let absolute_magnitude = self . stat . relative_change_magnitude ( change * 100.0 ) ;
1113
+ let absolute_magnitude = self . metric . relative_change_magnitude ( change * 100.0 ) ;
1114
1114
fn as_u8 ( m : Magnitude ) -> u8 {
1115
1115
match m {
1116
1116
Magnitude :: VerySmall => 1 ,
@@ -1474,7 +1474,7 @@ mod tests {
1474
1474
benchmark : index. to_string ( ) . as_str ( ) . into ( ) ,
1475
1475
profile : Profile :: Check ,
1476
1476
scenario : Scenario :: Empty ,
1477
- stat : Stat :: Instructions ,
1477
+ metric : Metric :: Instructions ,
1478
1478
historical_data : None ,
1479
1479
results : ( before, after) ,
1480
1480
} ) ;
You can’t perform that action at this time.
0 commit comments