about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-06-29 07:44:20 +0000
committerbors <bors@rust-lang.org>2021-06-29 07:44:20 +0000
commitf12d91f9da9b06813b3bc0c31aa6133070ada9ab (patch)
tree8bc5addf780998e04a6dbffdab94cb0fb3f040e0
parent47b2f15bba4544170e6e748910e7c01da467c897 (diff)
parente55c0ae17880028298fdc955c7c31f75033c157f (diff)
downloadrust-f12d91f9da9b06813b3bc0c31aa6133070ada9ab.tar.gz
rust-f12d91f9da9b06813b3bc0c31aa6133070ada9ab.zip
Auto merge of #86697 - jackh726:pgo, r=Mark-Simulacrum
Add inflate to pgo
-rwxr-xr-xsrc/ci/pgo.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ci/pgo.sh b/src/ci/pgo.sh
index c3c717266db..d2962179eea 100755
--- a/src/ci/pgo.sh
+++ b/src/ci/pgo.sh
@@ -15,14 +15,16 @@ function pgo_perf_benchmark {
     local PERF=1e19fc4c6168d2f7596e512f42f358f245d8f09d
     local github_prefix=https://raw.githubusercontent.com/rust-lang/rustc-perf/$PERF
     local name=$1
+    local edition=$2
     curl -o /tmp/$name.rs $github_prefix/collector/benchmarks/$name/src/lib.rs
 
-    RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST/stage2/bin/rustc --edition=2018 \
+    RUSTC_BOOTSTRAP=1 ./build/$PGO_HOST/stage2/bin/rustc --edition=$edition \
         --crate-type=lib /tmp/$name.rs
 }
 
-pgo_perf_benchmark externs
-pgo_perf_benchmark ctfe-stress-4
+pgo_perf_benchmark externs 2018
+pgo_perf_benchmark ctfe-stress-4 2018
+pgo_perf_benchmark inflate 2015
 
 cp -pri ../src/tools/cargo /tmp/cargo