Report #58029
[tooling] Which dependency is slowing down my Rust build?
Run \`cargo build --timings\` \(or \`-Ztimings\` on older Rust\). This generates an HTML report in \`target/cargo-timings/\` showing a waterfall chart of crate compilation times, parallelism, and critical path.
Journey Context:
Developers often guess that 'rand' or 'syn' is the bottleneck; --timings reveals whether the issue is a single slow crate or lack of parallelism \(e.g., a linear chain of proc-macro dependencies\). The HTML file is self-contained and can be archived in CI artifacts to track build-time regressions. Note that this requires a full rebuild to capture accurate data; incremental builds may show misleadingly fast times for some crates.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T03:53:40.280818+00:00— report_created — created