This is an automated email from the ASF dual-hosted git repository.
paulk-asert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 160c9d57d1 tweak performance test which has stack overflow in some
environments
160c9d57d1 is described below
commit 160c9d57d19dd70b97fb7d3f286e285cac100496
Author: Paul King <[email protected]>
AuthorDate: Mon May 11 09:27:04 2026 +1000
tweak performance test which has stack overflow in some environments
---
.../src/jmh/groovy/org/apache/groovy/bench/AckermannBench.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/subprojects/performance/src/jmh/groovy/org/apache/groovy/bench/AckermannBench.java
b/subprojects/performance/src/jmh/groovy/org/apache/groovy/bench/AckermannBench.java
index e014a17c28..b2a0bab52e 100644
---
a/subprojects/performance/src/jmh/groovy/org/apache/groovy/bench/AckermannBench.java
+++
b/subprojects/performance/src/jmh/groovy/org/apache/groovy/bench/AckermannBench.java
@@ -36,13 +36,13 @@ import java.util.concurrent.TimeUnit;
*/
@Warmup(iterations = 3, time = 2, timeUnit = TimeUnit.SECONDS)
@Measurement(iterations = 5, time = 2, timeUnit = TimeUnit.SECONDS)
-@Fork(2)
+@Fork(value = 2, jvmArgsAppend = "-Xss8m")
@BenchmarkMode(Mode.AverageTime)
@OutputTimeUnit(TimeUnit.MILLISECONDS)
@State(Scope.Thread)
public class AckermannBench {
- @Param({"5", "6", "7", "8"})
+ @Param({"5", "6", "7"})
private int n;
/**