Mehdi Akiki

Posts tagged "build-performance"

  • Published on
    mold 3.0 is the first Rust version of mold. I linked the same ripgrep object files with it, mold 2, GNU ld, gold, LLD and wild. With one thread, LLD, mold and wild were equal, the Rust mold was a bit slower with 16, and all outputs were the same program.
  • Published on

    Investigation · Part 1 of 3 · Rust build times

    Why Is My Rust Build Slow? A Diagnostic Tree

    A measured decision tree for slow Rust builds: use cargo --timings for the shape, the Cargo fingerprint log for unexpected rebuilds, and -Ztime-passes for the phase inside one crate.