-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
Turn on testForkGrouping
by default
#4419
Comments
In my larger projects, |
I think it depends on how big your test suite classes are and how long they take to run. If your classes are numerous and fast, then the overhead of spawning JVMs for each one dominates. If they are few and slow, then the overhead is small and the parallelization benefits win out |
It looks to me this should be a runtime setting rather than build script defined, since it may vary for user / machine / use-case and also ideally should not affect any built outcome. |
The new setting |
Small projects probably won't notice the slight increase in overhead with
testForkGrouping
enabled, while larger projects would benefit substantially from the parallelism. And people can turn it off if necessary.Mill's been using it since 0.12.0 and it's been pretty robust, probably can make it the default in 0.13.0
The text was updated successfully, but these errors were encountered: