Skip to content

Commit f12d91f

Browse files
committed
Auto merge of rust-lang#86697 - jackh726:pgo, r=Mark-Simulacrum
Add inflate to pgo
2 parents 47b2f15 + e55c0ae commit f12d91f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/ci/pgo.sh

+5-3
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,16 @@ function pgo_perf_benchmark {
1515
local PERF=1e19fc4c6168d2f7596e512f42f358f245d8f09d
1616
local github_prefix=https://raw.githubusercontent.com/rust-lang/rustc-perf/$PERF
1717
local name=$1
18+
local edition=$2
1819
curl -o /tmp/$name.rs $github_prefix/collector/benchmarks/$name/src/lib.rs
1920

20-
RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST/stage2/bin/rustc --edition=2018 \
21+
RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST/stage2/bin/rustc --edition=$edition \
2122
--crate-type=lib /tmp/$name.rs
2223
}
2324

24-
pgo_perf_benchmark externs
25-
pgo_perf_benchmark ctfe-stress-4
25+
pgo_perf_benchmark externs 2018
26+
pgo_perf_benchmark ctfe-stress-4 2018
27+
pgo_perf_benchmark inflate 2015
2628

2729
cp -pri ../src/tools/cargo /tmp/cargo
2830

0 commit comments

Comments
 (0)