E-Ink News Daily

Back to list

How I made Rustdoc 33% faster in one week

Noah Lev Bartell-Mangel identified and fixed a Rustdoc regression triggered by the recursion_limit attribute, then went on to deliver a series of performance optimizations that reduced Rustdoc wall-time by an average of 25% (33% speedup), with up to 60% gains on microbenchmarks. The improvements were discovered through Crater testing that found Rustdoc failing on a crate using a low recursion limit while rustc compiled it fine.

Background

Rustdoc is the documentation generator for Rust, also behind cargo doc and docs.rs. The Rust release team uses Crater to test new compiler versions across the public Rust ecosystem before stable releases.

Source
Lobsters
Published
Aug 28, 2026 at 09:58 PM
Score
7.0 / 10