Skip to content

Commit 3a6196b

Browse files
committed
Bump rustc-perf, replace webrender and diesel with newer versions
1 parent 81f0108 commit 3a6196b

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

xtask/src/metrics.rs

+11-16
Original file line numberDiff line numberDiff line change
@@ -40,29 +40,24 @@ impl flags::Metrics {
4040
"self.json"
4141
}
4242
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"
4545
}
4646
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"
5449
}
5550
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"
5853
}
5954
},
6055
None => {
6156
metrics.measure_build(sh)?;
6257
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")?;
6661
"all.json"
6762
}
6863
};
@@ -93,7 +88,7 @@ impl Metrics {
9388
self.measure_analysis_stats_path(
9489
sh,
9590
bench,
96-
&format!("./target/rustc-perf/collector/benchmarks/{bench}"),
91+
&format!("./target/rustc-perf/collector/compile-benchmarks/{bench}"),
9792
)
9893
}
9994
fn measure_analysis_stats_path(
@@ -145,7 +140,7 @@ impl Metrics {
145140
let host = Host::new(sh)?;
146141
let timestamp = SystemTime::now();
147142
let revision = cmd!(sh, "git rev-parse HEAD").read()?;
148-
let perf_revision = "c52ee623e231e7690a93be88d943016968c1036b".into();
143+
let perf_revision = "a584462e145a0c04760fd9391daefb4f6bd13a99".into();
149144
Ok(Metrics { host, timestamp, revision, perf_revision, metrics: BTreeMap::new() })
150145
}
151146

0 commit comments

Comments
 (0)