-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Performance of GitHub-hosted macOS runner #1336
Comments
Hello @gitoleg, |
Hello @maxim-lobanov, |
@maxim-lobanov, |
Hello @gitoleg ! Sorry for the late reply! |
@MaksimZhukov Thanks! |
In the past couple of weeks I've also experienced severe performance degradation on macOS runners. In one project I've had to increase the timeout value for a function that gets called multiple times by the test suite. Previously timeout was set to sensible 60 seconds since the whole suite runs in 40-50 seconds on Ubuntu, but macOS runners weren't keeping up. In another project I've moved macOS jobs to another CI provider. |
I can confirm that MacOS performance is very flaky and not consistent. Sometimes it is quite fast and sometimes it degrades to 1/4 of the the normal performance. This is very unsatisfying especially on large/long builds due to the high costs. |
Sometimes our 30min build takes more than 6h. For an exemple: https://github.com/apollographql/apollo-android/runs/1325891021?check_suite_focus=true |
Chiming in ... running xcodebuild locally: 266s, on macOS runner: 921s ... that's almost a 3.5x slowdown, with a 10x charge penalty ... that's a bit ridiculous, no? Local: MBP 16 (2.3 GHz 8-Core Intel Core i9). |
I can confirm that MacOS performance is 2x-2.5x slower than ubuntu-latest, when testing Julia package https://github.com/detrin/OpenQuantumSystems.jl |
Some anecdata from a few of my projects:
I can run my test suite locally in about 1.5m, but it takes ~6m on Github. When you throw in all the other setup and teardown steps, it's ~10m. If it really were only 20%-30% slower than Ubuntu instances, that would be great. |
I am also seeing very slow performance on the macos runners. The recent runs take about an hour to run: I also noticed the queue time is quite long. sometimes the macos builds are queued for 8+ hours. |
Building for Win(self-hosted for signing), Mac and Linux we are seeing build times ~8min for Linux and over 20min for Mac. |
+1. Larger (and probably more expensive) macOS runners won't resolve the underlying problem. There is absolutely no reason for these VMs being up 500% to 1000% slower when they have double the RAM and a full virtual core more than their Linux counterparts. |
We also have performance issues with macOS runners. MacBook Pro Quad-Core: 60 seconds to build our project With the current pricing model for macOS runners this makes our builds super overpriced. |
@jozefizso , can I ask to open an issue on https://support.github.com ? this particular issue tracker is related to image generation (i.e. software included and so on), we cannot help much with operations |
I've had an open issue since November of last year regarding this problem It is clear GitHub are unable to fix this problem and are trying to sweep it under a rug, lest MacOS runners be labeled by the community as unusable For those with access, and who can afford them - large macos runners do not seem to have this problem |
Great, we are waiting a year for macOS 13 build machine. |
This should not be closed. We are also experiencing insanely slow performance of macOS runners. This is one issue among many that result in extremely degraded trust in Github, sadly. |
No official answer or any form of resolution, and the issue is closed? This is really uncool, Github.. |
This affects us as well. |
MacOS and Windows CI runners / tests are taking ~4x as long as the Linux tests do. For MacOS there is already an issue that reflects the numbers we get (actions/runner-images#1336) but to make sure that it is not us, removing the lines to install `numpy < 2` for Windows and MacOS helps to debug.
MacOS and Windows CI runners / tests are taking ~4x as long as the Linux tests do. For MacOS there is already an issue that reflects the numbers we get (actions/runner-images#1336) but to make sure that it is not us, removing the lines to install `numpy < 2` for Windows and MacOS helps to debug.
Associated community ticket: https://github.community/t/macos-performance/125281
The customer setup a matrix in his workflow to run the same job on different OSs (
ubuntu-latest
andmacos-latest
).See the workflow here: https://github.com/gitoleg/bap/actions/runs/187608792/workflow
On some steps in the job, the macOS runner takes far more longer time than the Linux runner (even more than 2 times) to run the steps.
Earlier, I also noticed that some users have reported similar problems. Especially some users who need to pay for runners, they complained that the performance of GitHub-hosted macOS runner is slower and they have to pay more.
As we have known, the billing per-minute for macOS runner is 10 times that for Linux runner.
The text was updated successfully, but these errors were encountered: