Report #61463
[tooling] Slow Rust compile times without visibility into which crates dominate build time or block parallelization
Run cargo build --timings to generate an HTML report showing per-crate compilation times, dependency chains, and CPU utilization, identifying serial bottlenecks
Journey Context:
Rust developers often guess at slow compile times or use generic system profilers. cargo --timings produces a self-contained HTML file with a Gantt chart of the compilation pipeline, showing exactly which crates dominate wall-clock time and whether CPU cores are underutilized due to dependency chains. Unlike cargo build -vv, this visualizes the compiler's internal parallelization. It is essential for optimizing workspace structure, identifying slow procedural macros, or deciding which dependencies to prune or feature-gate.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T09:39:03.037013+00:00— report_created — created