Skip to content

Commit 5caf635

Browse files
committed
Auto merge of #56678 - michaelwoerister:incr-thinlto-bench, r=<try>
[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.
2 parents 3a75e80 + 208b9a7 commit 5caf635

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ci/docker/dist-x86_64-linux/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ ENV RUST_CONFIGURE_ARGS \
102102
--set target.x86_64-unknown-linux-gnu.ar=/rustroot/bin/llvm-ar \
103103
--set target.x86_64-unknown-linux-gnu.ranlib=/rustroot/bin/llvm-ranlib \
104104
--set llvm.thin-lto=true \
105-
--set rust.jemalloc
105+
--set rust.jemalloc \
106+
--set rust.incremental=true
106107
ENV SCRIPT python2.7 ../x.py dist --host $HOSTS --target $HOSTS
107108
ENV CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=clang
108109

0 commit comments

Comments
 (0)