-
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
Parallel runtime tests execution #3370
Comments
Free CIs usually only provide single core containers so enabling parallel testing ends up being slower. This was definitely the case with Travis CI. Didn't try it on our latest CIs though. |
How slower? It's quite strange. But parallel tests are also useful on local machines without limitation on the number of cores. |
BTW, now I'm still not able to set up tests, I'm not a very experienced with maven. |
It seems like at least CircleCI has 2 CPUs: https://app.circleci.com/pipelines/github/antlr/antlr4/678/workflows/005d374e-8b5b-40ae-a720-c04b03a6928b/jobs/7728/resources Not many but better than one. |
AppVeyor also has 2 CPU cores: https://help.appveyor.com/discussions/questions/11179-how-many-cores-and-threads-can-be-used-in-free-appveyor-build |
you can try amending the test scripts, there’s a maven cmd line option I believe
… Le 3 déc. 2021 à 13:02, Ivan Kochurkin ***@***.***> a écrit :
AppVeyor also has 2 CPU cores: https://help.appveyor.com/discussions/questions/11179-how-many-cores-and-threads-can-be-used-in-free-appveyor-build <https://help.appveyor.com/discussions/questions/11179-how-many-cores-and-threads-can-be-used-in-free-appveyor-build>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#3370 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAZNQJHNCOILV2JVIU7W3ELUPCWXDANCNFSM5I6ZSH4A>.
|
Yes, I'll try to fix them after fixing dotnet and go pipelines on Linux. Also, it seems like parallel execution is already turned on for CircleCI. |
I don't understand why parallel tests execution still is not enabled. It should be quite easy to implement since each test uses a separated directory and operates in an isolated process. Parallel tests can greatly improve performance because they may utilize all processor cores.
The text was updated successfully, but these errors were encountered: