From 82b96b00c4211afd61fbfb0089b533c86cd49fd9 Mon Sep 17 00:00:00 2001 From: Name From Git-Plugin-Test Date: Sun, 16 Jul 2023 15:21:04 -0700 Subject: [PATCH] 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 | 519 | 516 | 519 | 518 | | After | 123 | 124 | 124 | 124 | | Savings| | | | 394 | | % | | | | 76 | --- pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pom.xml b/pom.xml index f20e761a..0a5ab0b7 100644 --- a/pom.xml +++ b/pom.xml @@ -298,6 +298,9 @@ maven-surefire-plugin false + 1C + all + true