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
phpcs: use parallel mode #2049
base: 1.9.x
Are you sure you want to change the base?
phpcs: use parallel mode #2049
Conversation
What improvement does this give? And does GitHub Actions provide more than one core to run this in parallel during CI? |
github actions run with 2 cores on the default instance. whether its a measurable difference need to be proved though. |
@theofidry maybe phpcs should have some cpu core autodetection ;) |
Minor CI & local speedup.
Yeah, ideally. Current solution is really naive. I dont really care about this PR much, but it feels wrong not to utilize faster solution :) |
GH provides 2, 4, 8, 16, 64 core runners, also supports custom runners: https://docs.github.com/en/actions/using-github-hosted-runners/using-larger-runners I see this PR very beneficial - I can remove some custom core that I wrote to utility all CPUs for different tools |
Ideally, available vcpus should be used...