Commit a1c9812
chore: Parallelize Tests (#739)
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 | 304 | 306 | 307 | 306 |
| After | 120 | 123 | 118 | 120 |
| Savings| | | | 186 |
| % | | | | 61 |
Co-authored-by: Name From Git-Plugin-Test <[email protected]>1 parent f7c1292 commit a1c9812
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
227 | 236 | | |
228 | 237 | | |
229 | 238 | | |
| |||
0 commit comments