-
In our CI, cloning https://github.com/rust-lang/crates.io-index takes roughly 9 minutes:
It seems to spend most of the time in This problem only happens on windows and does not occur on x86-64 Linux or MacOS. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Thanks a lot for reaching out. While perusing the CI log, I noticed that the log for object resolution doesn't account for any object. This should be fixed with the latest release of Further, what's slow is specifically the checkout portion of the clone operation, which creates one small file per crate at a rate of 249 files per second. It does so with efficiency in mind and can checkout the linux kernel in below a second on a linux machine, and the code for that is the same. Of course on windows there shouldn't be such a huge difference, especially since But why is I am conducting a test on windows now with the latest version from |
Beta Was this translation helpful? Give feedback.
After finally and seemingly (somewhat) successfully switching the Windows VM to
aarch64-*msvc
I could produce some numbers.The baseline is set by
git
itself, and writes are performed to the VM disk which probably isn't the fastest, but it's not sluggish either.