From ecc384740142b796b2128ac0a28776c6953b5fd2 Mon Sep 17 00:00:00 2001 From: Name From Git-Plugin-Test Date: Sun, 16 Jul 2023 13:00:20 -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 | 29 | 30 | 29 | 29 | | After | 17 | 17 | 17 | 17 | | Savings| | | | 12 | | % | | | | 41 | --- pom.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pom.xml b/pom.xml index 88681b0..c7a4f0c 100644 --- a/pom.xml +++ b/pom.xml @@ -100,5 +100,18 @@ + + + + org.apache.maven.plugins + maven-surefire-plugin + + 1C + all + true + + + +