How to speed up the Rust compiler in September 2026

My last post on the Rust compiler’s performance was two months ago and a lot has happened since then.

Overall progress

The measurements for the period 2026-07-29 to 2026-09-28 can be seen here.

The mean wall-time reduction was 4.57%, which is a remarkable improvement in just two months. Of the 629 benchmark measurements, 555 of them improved and only 74 regressed. A number of benchmarks saw double-digit percentage reductions. The technical term for this result is “a sea of green”.

rustdoc

In my last post I mentioned how Noah Lev got some enormous speed wins on rustdoc. He recently wrote a post explaining in some detail exactly how he did this. It’s an interesting and satisfying read.