@@ -40,29 +40,24 @@ impl flags::Metrics {
40
40
"self.json"
41
41
}
42
42
MeasurementType :: AnalyzeRipgrep => {
43
- metrics. measure_analysis_stats ( sh, "ripgrep" ) ?;
44
- "ripgrep.json"
43
+ metrics. measure_analysis_stats ( sh, "ripgrep-13.0.0 " ) ?;
44
+ "ripgrep-13.0.0 .json"
45
45
}
46
46
MeasurementType :: AnalyzeWebRender => {
47
- {
48
- // https://github.com/rust-lang/rust-analyzer/issues/9997
49
- let _d = sh. push_dir ( "target/rustc-perf/collector/benchmarks/webrender" ) ;
50
- cmd ! ( sh, "cargo update -p url --precise 1.6.1" ) . run ( ) ?;
51
- }
52
- metrics. measure_analysis_stats ( sh, "webrender" ) ?;
53
- "webrender.json"
47
+ metrics. measure_analysis_stats ( sh, "webrender-2022" ) ?;
48
+ "webrender-2022.json"
54
49
}
55
50
MeasurementType :: AnalyzeDiesel => {
56
- metrics. measure_analysis_stats ( sh, "diesel/diesel " ) ?;
57
- "diesel.json"
51
+ metrics. measure_analysis_stats ( sh, "diesel-1.4.8 " ) ?;
52
+ "diesel-1.4.8 .json"
58
53
}
59
54
} ,
60
55
None => {
61
56
metrics. measure_build ( sh) ?;
62
57
metrics. measure_analysis_stats_self ( sh) ?;
63
- metrics. measure_analysis_stats ( sh, "ripgrep" ) ?;
64
- metrics. measure_analysis_stats ( sh, "webrender" ) ?;
65
- metrics. measure_analysis_stats ( sh, "diesel/diesel " ) ?;
58
+ metrics. measure_analysis_stats ( sh, "ripgrep-13.0.0 " ) ?;
59
+ metrics. measure_analysis_stats ( sh, "webrender-2022 " ) ?;
60
+ metrics. measure_analysis_stats ( sh, "diesel-1.4.8 " ) ?;
66
61
"all.json"
67
62
}
68
63
} ;
@@ -93,7 +88,7 @@ impl Metrics {
93
88
self . measure_analysis_stats_path (
94
89
sh,
95
90
bench,
96
- & format ! ( "./target/rustc-perf/collector/benchmarks/{bench}" ) ,
91
+ & format ! ( "./target/rustc-perf/collector/compile- benchmarks/{bench}" ) ,
97
92
)
98
93
}
99
94
fn measure_analysis_stats_path (
@@ -145,7 +140,7 @@ impl Metrics {
145
140
let host = Host :: new ( sh) ?;
146
141
let timestamp = SystemTime :: now ( ) ;
147
142
let revision = cmd ! ( sh, "git rev-parse HEAD" ) . read ( ) ?;
148
- let perf_revision = "c52ee623e231e7690a93be88d943016968c1036b " . into ( ) ;
143
+ let perf_revision = "a584462e145a0c04760fd9391daefb4f6bd13a99 " . into ( ) ;
149
144
Ok ( Metrics { host, timestamp, revision, perf_revision, metrics : BTreeMap :: new ( ) } )
150
145
}
151
146
0 commit comments