Skip to content

Commit

Permalink
Auto merge of #86697 - jackh726:pgo, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Add inflate to pgo
  • Loading branch information
bors committed Jun 29, 2021
2 parents 47b2f15 + e55c0ae commit f12d91f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/ci/pgo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f12d91f

Please sign in to comment.