#How to deal with huge compile times
13 messages · Page 1 of 1 (latest)
Is that 40 seconds incremental?
How do I know if it is incrememtal?
Is this the first time running cargo check or a second time
Also could you do cargo build --timings and post the resulting graph?
It is like a 10th run of cargo run
Can do when I am back home.
@mystic badge here is the timings file
in general you want to:
- have
cargo watch -l -x "build"always run in another tmux pane - use mold
- use sccache
- enable parallel frontend if you use nightly
Run cargo clean first, then rerun the timings
Here are the timings of that run.