-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-crate-dependenciesArea: [dependencies] of any kindArea: [dependencies] of any kindA-gitArea: anything dealing with gitArea: anything dealing with gitA-patchArea: [patch] table overrideArea: [patch] table overrideC-enhancementCategory: enhancementCategory: enhancementPerformanceGotta go fast!Gotta go fast!S-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
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. Almost all of that is taken up in Manifest parsing
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.
Metadata
Metadata
Assignees
Labels
A-crate-dependenciesArea: [dependencies] of any kindArea: [dependencies] of any kindA-gitArea: anything dealing with gitArea: anything dealing with gitA-patchArea: [patch] table overrideArea: [patch] table overrideC-enhancementCategory: enhancementCategory: enhancementPerformanceGotta go fast!Gotta go fast!S-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.