Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: Parallelize Tests This will use all available cores to run tests, and parallelize by all - suite/class/method. On machines with multiple cores, this will vastly improve test performance. These times are on my M1 MBP with 10 (8P + 2E) cores. They were reported by maven on running `mvn verify`. I first ran `mvn verify` and ignored the time. Then I ran it thrice without this change, and thrice with this change. All times in seconds. | | Run 1 | Run 2 | Run 3 | Average | | ------ | ----: | ----: | ----: | ------: | | Before | 21 | 21 | 22 | 21 | | After | 16 | 16 | 16 | 16 | | Savings| | | | 5 | | % | | | | 24 | * Move the forkCount definition into buildPlugin Forcing the forkCount setting in the plugin pom will override the value that a developer might set on their local computer based on the configuration of that computer. The configuration on ci.jenkins.io is known to have enough memory for a JVM per core. Use JVM per core on ci.jenkins.io for faster testing and reduced costs. --------- Co-authored-by: Name From Git-Plugin-Test <[email protected]> Co-authored-by: Mark Waite <[email protected]>
- Loading branch information