-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"cargo install --locked" very slow with sparse-registry #10821
Comments
Can you say more about what specifically you are referring to with your timing? Is that the time to download the crates? Or is that the total time to build? Is there a similar time difference without For me, running:
shows:
So the locked/unlocked times are nearly identical. |
Am running from inside ripgrep repo...
|
A smaller test...
The main delay is at Fetch stage...
|
The slow result is not always reproducible, but I found that if it finishes in a fast speed, the
|
Hm, I'm able to reproduce this now 100% of the time. There is a lot of complexity here that is a bit tricky to untangle. With |
I can investigate. @rustbot claim |
Problem
cargo install --locked
takes over 20s at times when ran in latest ripgrep Git repo, compared to the less than 5s ofcargo install
.Version
The text was updated successfully, but these errors were encountered: