Commit d689167
chore: Parallelize Tests (#197)
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 | 876 | 873 | 878 | 876 |
| After | 300 | 300 | 301 | 300 |
| Savings| | | | 576 |
| % | | | | 66 |
Co-authored-by: Name From Git-Plugin-Test <[email protected]>1 parent 599809d commit d689167
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
47 | 56 | | |
48 | 57 | | |
49 | 58 | | |
| |||
0 commit comments