Report #14974
[tooling] Rust build times are slow and need to identify which crates are the compilation bottlenecks
Run \`cargo build --timings\` to generate an HTML report \(target/cargo-timings/cargo-timing.html\) showing per-crate compilation times, concurrency utilization, and critical path analysis
Journey Context:
Developers often guess which dependencies are slow or use \`cargo build -vv\` to see raw output. The \`--timings\` flag \(stabilized in Rust 1.60\) produces a visual timeline showing when each crate starts/finishes compilation, revealing serialization points \(e.g., one crate blocking 50 others\). This identifies optimization targets like upgrading slow build-script crates or enabling feature unification.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T22:51:23.833990+00:00— report_created — created