This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch feat/app-bench-ci
in repository https://gitbox.apache.org/repos/asf/grails-core.git
The following commit(s) were added to refs/heads/feat/app-bench-ci by this push:
new eb0d8572fd Raise the CI app bench profile to 2,000 warm-up and 2,000
samples
eb0d8572fd is described below
commit eb0d8572fdb9fa88a66e346c8786c39163f79683
Author: James Daugherty <[email protected]>
AuthorDate: Wed Oct 14 12:59:08 2026 +0100
Raise the CI app bench profile to 2,000 warm-up and 2,000 samples
The two label runs of the app-bench job disagreed on every app
(latency 0.97x then 1.25x, app1 1.18x then 1.04x) with ±4-14% intervals
at the 80 / 300 profile, so a single run's verdict was noise. Sampling
is a negligible share of the job next to the six nested Gradle builds:
2,000 requests of a millisecond or two add a few seconds per build while
giving the JIT a real warm-up and the chunk means a far tighter interval.
---
.github/workflows/benchmark.yml | 2 +-
grails-test-examples/benchmarks/README.adoc | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index b2aa65d03e..ff283fbdfd 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -295,7 +295,7 @@ jobs:
- name: "Run app-level indy A/B benches"
timeout-minutes: 180
continue-on-error: true
- run: ./gradlew --no-daemon
:grails-test-examples-benchmarks:appIndyBench -PappBenchWarmup=80
-PappBenchSamples=300 -PappBenchChunks=10 -PappBenchOutDir="$RESULT_DIR"
--max-workers=4
+ run: ./gradlew --no-daemon
:grails-test-examples-benchmarks:appIndyBench -PappBenchWarmup=2000
-PappBenchSamples=2000 -PappBenchChunks=10 -PappBenchOutDir="$RESULT_DIR"
--max-workers=4
- name: "Upload app benchmark artifacts"
if: always()
uses: actions/[email protected]
diff --git a/grails-test-examples/benchmarks/README.adoc
b/grails-test-examples/benchmarks/README.adoc
index 12b586cd9d..f02ae901db 100644
--- a/grails-test-examples/benchmarks/README.adoc
+++ b/grails-test-examples/benchmarks/README.adoc
@@ -86,7 +86,9 @@ Optional properties:
| `appBenchMaxWorkers` | `4` | `--max-workers` for each nested Gradle
invocation
|===
-CI on the `performance` label uses warmup 80 / samples 300 / chunks 10. The
CPU ruler written next to each
+CI on the `performance` label uses warmup 2000 / samples 2000 / chunks 10.
Sampling is cheap next to the
+nested Gradle builds around it (2,000 requests of a millisecond or two take a
few seconds), while 300 samples
+after 80 warm-up requests left ±4-14% intervals that flipped verdicts between
runs. The CPU ruler written next to each
HTTP entry discards at least 50,000 calls of its own before sampling, whatever
`appBenchWarmup` says, so the
runner-health check compares two JIT-settled loops rather than two JVMs caught
mid-compilation.