Skip to content

Commit

Permalink
Auto merge of #56678 - michaelwoerister:incr-thinlto-bench, r=<try>
Browse files Browse the repository at this point in the history
[experiment] Benchmark incremental ThinLTO'd compiler.

I figure we can hijack perf.rlo to get some numbers on the runtime performance of code compiled with incremental ThinLTO. To this end, we compile the compiler incrementally and then measure how much slower it is a building stuff.
  • Loading branch information
bors committed Dec 11, 2018
2 parents 3a31213 + 208b9a7 commit 26f96e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ci/docker/dist-x86_64-linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ ENV RUST_CONFIGURE_ARGS \
--set target.x86_64-unknown-linux-gnu.ar=/rustroot/bin/llvm-ar \
--set target.x86_64-unknown-linux-gnu.ranlib=/rustroot/bin/llvm-ranlib \
--set llvm.thin-lto=true \
--set rust.jemalloc
--set rust.jemalloc \
--set rust.incremental=true
ENV SCRIPT python2.7 ../x.py dist --host $HOSTS --target $HOSTS
ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=clang

Expand Down

0 comments on commit 26f96e5

Please sign in to comment.