Evaluating pipelined rustc compilation

In TiKV we are attempting to upgrade our toolchain and turn on pipelining. Here is the PR: https://github.com/tikv/tikv/pull/4913

Our full release build sees a 12% reduction in full build time on a 40 core machine.

This time I also tested cargo bench, and for running cargo bench --no-run I see an interesting 27% and 22% reduction for full and partial rebuilds respectively. I’m guessing this has to do with the large number of bench bins we have.

5 Likes