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 6c7d558b59 make it simpler to output jmh results
6c7d558b59 is described below

commit 6c7d558b59540a40acdf0bc81af9527ed5776eea
Author: Paul King <[email protected]>
AuthorDate: Wed Aug 9 22:24:17 2023 +1000

    make it simpler to output jmh results
---
 build-logic/src/main/groovy/org.apache.groovy-performance.gradle | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 0e94917332..7b1f726d45 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-performance.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-performance.gradle
@@ -69,7 +69,9 @@ tasks.named('compileJmhGroovy') {
 }
 
 tasks.register('displayJmhResults') {
-    println file("$buildDir/results/jmh/results.txt").text
+    doLast {
+        println file("$buildDir/results/jmh/results.txt").text
+    }
 }
 
 tasks.register("performanceTests", PerformanceTestSummary)

Reply via email to