-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Windows checkout abysmally slow compared to Linux #1293
Comments
@maxgerhardt Thanks for reporting this. Is checkout on windows-latest this slow every time or is it intermittent? |
I had two runs at the time of report and they were both 1m53s each (so both slow). I will rerun now. |
The first 2 runs were <10 seconds, the third run again took 1m25s for the checkout :( https://github.com/Community-PIO-CH32V/ch32v003fun/actions/runs/4707304404/jobs/8377094057 |
I am experiencing this as well. Moved our self-hosted Windows runner to an EC2 from an AZR VM, and the checkout went from ~4s to 1m30s. Both machines have git 2.38 installed and visible in the path: C:>git --version |
I've also experienced a 90s checkout on Windows: https://github.com/fromdeno/deno2node/actions/runs/4612411694/jobs/8153276508 (wojpawlik/deno2node#39) |
Not sure if this is related .. but .. windows machines show woeful I/O compared to their linux versions. I'm not suggesting this is an OS issue but maybe the infrastructure/hardware/I/O allocated to windows is subpar compared to those allocated to linux. (not sure about mac images). this was detected when comparing So maybe that's the case here, also? It's an I/O / hardware problem? |
i don't know if it's related, but my project uses a lot of git-related actions often, and it works fine in linux but when i tried to move it over to a windows pc it was unbearably slow and unable to do anything, no matter the hardware. something i noticed, though: windows running in a vm on a linux host is perfectly fine |
A simple
Is taking 44 seconds on Windows Server 2022 (
windows-latest
), while it takes 1 second on Linux (ubuntu-latest
). That's 44 times slower.See run here.
Something can't be right here. It's taking an extraordinarily long time between the start and the first "Syncing repository" message and a whopping 5 seconds to do a
git init
which should be almost instant.Since #1246 got merged and I am specifying
checkout@v3
to get the latest v3 version, it should not be that issue. #1186 does not apply because it's about Windows Server 2019.Windows:
Linux:
The text was updated successfully, but these errors were encountered: