-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
A-gitArea: anything dealing with gitArea: anything dealing with gitC-enhancementCategory: enhancementCategory: enhancementPerformanceGotta go fast!Gotta go fast!S-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewStatus: Issue or feature is accepted, and has a team member available to help mentor or review
Description
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. A lot of the time is taken up checking each git dependencies submodules

Note: 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 or "cargo script" where cargo build is performed every time you run your script.
Related: #14395
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-gitArea: anything dealing with gitArea: anything dealing with gitC-enhancementCategory: enhancementCategory: enhancementPerformanceGotta go fast!Gotta go fast!S-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewStatus: Issue or feature is accepted, and has a team member available to help mentor or review