-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-manifestArea: Cargo.toml issuesArea: Cargo.toml issuesC-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
download_accessible
is approximately 1/3 of cargo's overhead (see https://blog.rust-lang.org/inside-rust/2024/03/26/this-development-cycle-in-cargo-1.78/#performance) with most of that time spent on loading of manifests (parsing, deserializing, normalizing, converting to native data types). While we can speed up individual steps, loading the manifests in parallel could offer a boost (for the non-IO parts).
This can make a difference for
- Tracking Issue for native-completion #14520
- Tracking Issue for cargo-script RFC 3424 #12207
- Redundant builds between users and IDEs that end up blocking each other due to locks
cargo check
for leaf crates
Metadata
Metadata
Assignees
Labels
A-manifestArea: Cargo.toml issuesArea: Cargo.toml issuesC-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.