Home Headshot of Noah Lev Bartell-Mangel

Noah Lev Bartell-Mangel

computer scientist & photographer

Email Email:

LinkedIn LinkedIn: noahlevb

GitHub GitHub: camelid

Blog

  1. How I made Rustdoc 25% faster in one week

    From a “weird bug” to massive speedups

    Last month, Rust release team member @theemathas posted on the Rustdoc Zulip about a strange regression in our latest beta. In case you’re not familiar with it, Rustdoc is the tool behind cargo doc. If you’ve ever opened the standard library docs or the docs for a crate on docs.rs, you’re looking at Rustdoc’s output. Anyway, before each stable version of Rust is published, the release team runs a tool called Crater that tests the new version across the public Rust ecosystem. Crater found Rustdoc to be newly erroring on a crate called indented-blocks, with code like this:

    • rust
    • rustdoc
    • performance