This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_4_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_4_0_X by this push:
new 1047f86694 make it simpler to output jmh results
1047f86694 is described below
commit 1047f8669460fa23c63abde594db3ccf4ccec3fc
Author: Paul King <[email protected]>
AuthorDate: Wed Aug 9 20:32:47 2023 +1000
make it simpler to output jmh results
---
build-logic/src/main/groovy/org.apache.groovy-performance.gradle | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/build-logic/src/main/groovy/org.apache.groovy-performance.gradle
b/build-logic/src/main/groovy/org.apache.groovy-performance.gradle
index 95bcaccbb6..0e94917332 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-performance.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-performance.gradle
@@ -68,6 +68,10 @@ tasks.named('compileJmhGroovy') {
classpath += compileJmhJava.classpath
}
+tasks.register('displayJmhResults') {
+ println file("$buildDir/results/jmh/results.txt").text
+}
+
tasks.register("performanceTests", PerformanceTestSummary)
sonarqube {