Closed
Description
Following alexcrichton/cargo-vendor#89 I cloned the parity-ethereum repository and ran cargo build
, but on subsequent tries, much to my surprise, it took a noticeably long time for Cargo to start printing "Compiling ..."!
This typically means that Cargo is spending too long in crate graph resolution, although it could be other things! Very unscientific testing shows ~.8s before "Compiling..." shows up on nightly. Interestingly CARGO_PROFILE=1
only shows ~100ms ms (!!) in resolution.
We may be able to do much better in this regard! cc @Eh2406, would you be curious to dig into this?