How I made Rustdoc 33% faster in one week
Summary
An in-depth look at how a Rust development engineer improved Rustdoc performance through a series of PRs, achieving about 33% average speedup and up to 60% on microbenchmarks. The post details techniques like filtering early, localizing primitive/synthetic impl handling, and optimizing self-type analysis, backed by benchmarks and flamegraphs. Practical insights for developers optimizing build-tools and language tooling.