From 47df8be6dc1e0927a7b3d690100445865dfa8675 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 23 Jun 2024 16:24:11 +0200 Subject: test: Add benchmarks. The benchmarks can be run using 'mvn verify -Pbenchmark'. Change-Id: I13058f52bea77aa3cb4f1967126c28e1e98d1838 --- core/pom.xml | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 71 insertions(+), 1 deletion(-) (limited to 'core/pom.xml') diff --git a/core/pom.xml b/core/pom.xml index a75acd5..38f7ea5 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -55,11 +55,37 @@ SPDX-License-Identifier: LGPL-3.0-or-later 5.10.2 test + + + org.openjdk.jmh + jmh-core + 1.35 + test + + + org.openjdk.jmh + jmh-generator-annprocess + 1.35 + test + + + maven-compiler-plugin + + + + org.openjdk.jmh + jmh-generator-annprocess + 1.35 + + + + + maven-jar-plugin @@ -73,10 +99,54 @@ SPDX-License-Identifier: LGPL-3.0-or-later maven-surefire-plugin - 3.2.5 + + + + benchmark + + + + + + maven-surefire-plugin + + true + + + + + org.codehaus.mojo + exec-maven-plugin + + + run-benchmarks + integration-test + + exec + + + test + java + + -classpath + + org.openjdk.jmh.Main + .* + + + + + + + + + + + + -- cgit v1.2.3