-
Notifications
You must be signed in to change notification settings - Fork 455
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
Crate universe isolated makes splicing 4 times slower at least #3212
Comments
Interesting, I would have expected |
Sorry, my phrasing was bad. When I set |
Yeah, that’s expected. Instead of reusing an already downloaded registry, cargo will download a fresh one which is not super fast. |
Where did it re-use previously? Did it use the user's cargo cache? |
Yup! Whatever you set as CARGO_HOME or whatever cargo would identify as the default. It’s typically |
After moving to
rules_rust
0.57.1 version the splicing of the workspace is at least 4 times slower compared when running withisolated = True
. When I set theisolated = False
the runtime is comparable to the previous one.We use
from_specs
with a pretty large monorepo which contains roughly ~500 external rust dependencies.EDIT: clarified the issue
The text was updated successfully, but these errors were encountered: