I’m not sure that this topic was never discussed earlier, but I found only similar ones and they are kind of outdated.
I have some noticeable difference in performance when running
Github Actions on Ubuntu vs macOS, and the latter takes way more time than the former one.
The question: if the observable behavior is known and expected one? Any advice you can give me to make it better?
I don’t think that there is something on our side, since we run on
matrix.os, and there are no problems with Ubuntu. Everything is the same - same tests, same compiler and etc.
For example, building
ocaml compiler takes around 4 minutes on Ubuntu and 11 minutes on macOS.
The tests themselves have even a bigger difference: 17 minutes on Ubuntu and 1 h 15 minutes on macOS.
I can provide a link, just for example: