Loading of a git source is slow due to manifest parsing #14395
Labels
A-crate-dependencies
Area: [dependencies] of any kind
A-git
Area: anything dealing with git
A-patch
Area: [patch] table override
C-enhancement
Category: enhancement
Performance
Gotta go fast!
S-needs-design
Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
When you have some git dependencies or patches, loading them takes a long time
For the traces from #14238, notice how slow the first
resolve
is compared to the second. Almost all of that is taken up in Manifest parsingNote: this slow down is most relevant for tooling like
rust-analyzer
or rust-defined completions when it may be called in interactive contexts without any compilation happening.Related: #13724, #14603
The text was updated successfully, but these errors were encountered: