Skip to content

"cargo install --locked" very slow with sparse-registry #10821

@tshepang

Description

@tshepang

Problem

cargo install --locked takes over 20s at times when ran in latest ripgrep Git repo, compared to the less than 5s of cargo install.

Version

cargo 1.64.0 (c0bbd42ce 2022-07-03)
release: 1.64.0
commit-hash: c0bbd42ce5e83fe2a93e817c3f9b955492d3130a
commit-date: 2022-07-03
host: x86_64-unknown-linux-gnu
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.83.1-DEV (sys:0.4.55+curl-7.83.1 vendored ssl:OpenSSL/3.0.3)
os: Debian testing (bookworm) [64-bit]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions