This is an automated email from the ASF dual-hosted git repository.
github-actions[bot] pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new 8edacfea51 add Benchmark (jmh) benchmark result for
160c9d57d19dd70b97fb7d3f286e285cac100496
8edacfea51 is described below
commit 8edacfea511ef5f67af1f447f59a7717fcae6e7d
Author: github-action-benchmark <[email protected]>
AuthorDate: Sun May 10 23:31:45 2026 +0000
add Benchmark (jmh) benchmark result for
160c9d57d19dd70b97fb7d3f286e285cac100496
---
dev/bench/jmh/grails-ad/indy/data.js | 246 ++++++++++++++++++++++++++++
dev/bench/jmh/grails-ad/indy/index.html | 281 ++++++++++++++++++++++++++++++++
2 files changed, 527 insertions(+)
diff --git a/dev/bench/jmh/grails-ad/indy/data.js
b/dev/bench/jmh/grails-ad/indy/data.js
new file mode 100644
index 0000000000..f80c5de7c9
--- /dev/null
+++ b/dev/bench/jmh/grails-ad/indy/data.js
@@ -0,0 +1,246 @@
+window.BENCHMARK_DATA = {
+ "lastUpdate": 1778455905783,
+ "repoUrl": "https://github.com/apache/groovy",
+ "entries": {
+ "Benchmark": [
+ {
+ "commit": {
+ "author": {
+ "name": "Paul King",
+ "username": "paulk-asert",
+ "email": "[email protected]"
+ },
+ "committer": {
+ "name": "Paul King",
+ "username": "paulk-asert",
+ "email": "[email protected]"
+ },
+ "id": "160c9d57d19dd70b97fb7d3f286e285cac100496",
+ "message": "tweak performance test which has stack overflow in some
environments",
+ "timestamp": "2026-05-10T23:27:04Z",
+ "url":
"https://github.com/apache/groovy/commit/160c9d57d19dd70b97fb7d3f286e285cac100496"
+ },
+ "date": 1778455904989,
+ "tool": "jmh",
+ "benches": [
+ {
+ "name":
"org.apache.groovy.perf.grails.CallSiteInvalidationBench.baselineHotLoop",
+ "value": 9.388496479094822,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CallSiteInvalidationBench.baselineListSize",
+ "value": 8.757290520171228,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CallSiteInvalidationBench.baselineMultipleCallSites",
+ "value": 76.55317180053764,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CallSiteInvalidationBench.baselineSteadyStateNoBurst",
+ "value": 29.488271213836594,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CallSiteInvalidationBench.burstThenSteadyState",
+ "value": 217.09823699979796,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CallSiteInvalidationBench.crossTypeInvalidationEvery100",
+ "value": 759.2805348333334,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CallSiteInvalidationBench.crossTypeInvalidationEvery1000",
+ "value": 879.7561664333334,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CallSiteInvalidationBench.crossTypeInvalidationEvery10000",
+ "value": 488.099025705,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CallSiteInvalidationBench.listSizeWithCrossTypeInvalidation",
+ "value": 783.2246236916667,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CallSiteInvalidationBench.multipleCallSitesWithInvalidation",
+ "value": 3274.4965736000004,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CallSiteInvalidationBench.sameTypeInvalidationEvery1000",
+ "value": 1058.7298749333333,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CategoryBench.baselineDirectCalls",
+ "value": 8.79904596130363,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CategoryBench.baselineEquivalentWithoutCategory",
+ "value": 27.884666380053297,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CategoryBench.categoryInLoop",
+ "value": 3434.8731292999996,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CategoryBench.categoryPerBatch",
+ "value": 799.7176419833334,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CategoryBench.categoryShadowingExistingMethod",
+ "value": 3826.7806450999997,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CategoryBench.categoryWithOutsideCalls",
+ "value": 5752.650400699999,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CategoryBench.multipleCategoriesSimultaneous",
+ "value": 5196.379193000001,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CategoryBench.nestedCategories",
+ "value": 6288.502179599999,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CategoryBench.nestedCategoryOuterWrapping",
+ "value": 5536.829123,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CategoryBench.singleCategoryWrappingLoop",
+ "value": 167.53767206929902,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.CategoryBench.threeCategoriesSimultaneous",
+ "value": 7440.381623999999,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.DynamicDispatchBench.baselinePlainMethodCalls",
+ "value": 9.798506222854027,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.DynamicDispatchBench.defTypedDispatch",
+ "value": 9.957039182417194,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.DynamicDispatchBench.defTypedPolymorphicDispatch",
+ "value": 17.538515415438514,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.DynamicDispatchBench.expandoInjectedMethodCall",
+ "value": 18.530664243129632,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.DynamicDispatchBench.invokeMethodAlternating",
+ "value": 14.43270788124119,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.DynamicDispatchBench.invokeMethodInterception",
+ "value": 14.05132848671363,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.DynamicDispatchBench.methodMissingMixedWithReal",
+ "value": 11.168654362230239,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.DynamicDispatchBench.methodMissingRotatingNames",
+ "value": 36.290905213455886,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.DynamicDispatchBench.methodMissingSavePattern",
+ "value": 33.258268963721555,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.DynamicDispatchBench.methodMissingSingleName",
+ "value": 21.22205690343531,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.DynamicDispatchBench.mixedRealAndInjectedCalls",
+ "value": 15.134225246209908,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.DynamicDispatchBench.propertyMissingReadWrite",
+ "value": 38.22318791958007,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.DynamicDispatchBench.propertyMissingRotatingNames",
+ "value": 28.455233927789997,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ },
+ {
+ "name":
"org.apache.groovy.perf.grails.DynamicDispatchBench.propertyMissingSingleName",
+ "value": 9.81689616926214,
+ "unit": "ms/op",
+ "extra": "iterations: 5\nforks: 2\nthreads: 1"
+ }
+ ]
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/dev/bench/jmh/grails-ad/indy/index.html
b/dev/bench/jmh/grails-ad/indy/index.html
new file mode 100644
index 0000000000..6c887805e8
--- /dev/null
+++ b/dev/bench/jmh/grails-ad/indy/index.html
@@ -0,0 +1,281 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, minimum-scale=1.0,
initial-scale=1, user-scalable=yes" />
+ <style>
+ html {
+ font-family: BlinkMacSystemFont,-apple-system,"Segoe
UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica
Neue",Helvetica,Arial,sans-serif;
+ -webkit-font-smoothing: antialiased;
+ background-color: #fff;
+ font-size: 16px;
+ }
+ body {
+ color: #4a4a4a;
+ margin: 8px;
+ font-size: 1em;
+ font-weight: 400;
+ }
+ header {
+ margin-bottom: 8px;
+ display: flex;
+ flex-direction: column;
+ }
+ main {
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ }
+ a {
+ color: #3273dc;
+ cursor: pointer;
+ text-decoration: none;
+ }
+ a:hover {
+ color: #000;
+ }
+ button {
+ color: #fff;
+ background-color: #3298dc;
+ border-color: transparent;
+ cursor: pointer;
+ text-align: center;
+ }
+ button:hover {
+ background-color: #2793da;
+ flex: none;
+ }
+ .spacer {
+ flex: auto;
+ }
+ .small {
+ font-size: 0.75rem;
+ }
+ footer {
+ margin-top: 16px;
+ display: flex;
+ align-items: center;
+ }
+ .header-label {
+ margin-right: 4px;
+ }
+ .benchmark-set {
+ margin: 8px 0;
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ }
+ .benchmark-title {
+ font-size: 3rem;
+ font-weight: 600;
+ word-break: break-word;
+ text-align: center;
+ }
+ .benchmark-graphs {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-around;
+ align-items: center;
+ flex-wrap: wrap;
+ width: 100%;
+ }
+ .benchmark-chart {
+ max-width: 1000px;
+ }
+ </style>
+ <title>Benchmarks</title>
+ </head>
+
+ <body>
+ <header id="header">
+ <div class="header-item">
+ <strong class="header-label">Last Update:</strong>
+ <span id="last-update"></span>
+ </div>
+ <div class="header-item">
+ <strong class="header-label">Repository:</strong>
+ <a id="repository-link" rel="noopener"></a>
+ </div>
+ </header>
+ <main id="main"></main>
+ <footer>
+ <button id="dl-button">Download data as JSON</button>
+ <div class="spacer"></div>
+ <div class="small">Powered by <a rel="noopener"
href="https://github.com/marketplace/actions/continuous-benchmark">github-action-benchmark</a></div>
+ </footer>
+
+ <script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.min.js"></script>
+ <script src="data.js"></script>
+ <script id="main-script">
+ 'use strict';
+ (function() {
+ // Colors from
https://github.com/github/linguist/blob/master/lib/linguist/languages.yml
+ const toolColors = {
+ cargo: '#dea584',
+ go: '#00add8',
+ benchmarkjs: '#f1e05a',
+ benchmarkluau: '#000080',
+ pytest: '#3572a5',
+ googlecpp: '#f34b7d',
+ catch2: '#f34b7d',
+ julia: '#a270ba',
+ jmh: '#b07219',
+ benchmarkdotnet: '#178600',
+ customBiggerIsBetter: '#38ff38',
+ customSmallerIsBetter: '#ff3838',
+ _: '#333333'
+ };
+
+ function init() {
+ function collectBenchesPerTestCase(entries) {
+ const map = new Map();
+ for (const entry of entries) {
+ const {commit, date, tool, benches} = entry;
+ for (const bench of benches) {
+ const result = { commit, date, tool, bench };
+ const arr = map.get(bench.name);
+ if (arr === undefined) {
+ map.set(bench.name, [result]);
+ } else {
+ arr.push(result);
+ }
+ }
+ }
+ return map;
+ }
+
+ const data = window.BENCHMARK_DATA;
+
+ // Render header
+ document.getElementById('last-update').textContent = new
Date(data.lastUpdate).toString();
+ const repoLink = document.getElementById('repository-link');
+ repoLink.href = data.repoUrl;
+ repoLink.textContent = data.repoUrl;
+
+ // Render footer
+ document.getElementById('dl-button').onclick = () => {
+ const dataUrl = 'data:,' + JSON.stringify(data, null, 2);
+ const a = document.createElement('a');
+ a.href = dataUrl;
+ a.download = 'benchmark_data.json';
+ a.click();
+ };
+
+ // Prepare data points for charts
+ return Object.keys(data.entries).map(name => ({
+ name,
+ dataSet: collectBenchesPerTestCase(data.entries[name]),
+ }));
+ }
+
+ function renderAllChars(dataSets) {
+
+ function renderGraph(parent, name, dataset) {
+ const canvas = document.createElement('canvas');
+ canvas.className = 'benchmark-chart';
+ parent.appendChild(canvas);
+
+ const color = toolColors[dataset.length > 0 ? dataset[0].tool :
'_'];
+ const data = {
+ labels: dataset.map(d => d.commit.id.slice(0, 7)),
+ datasets: [
+ {
+ label: name,
+ data: dataset.map(d => d.bench.value),
+ borderColor: color,
+ backgroundColor: color + '60', // Add alpha for #rrggbbaa
+ }
+ ],
+ };
+ const options = {
+ scales: {
+ xAxes: [
+ {
+ scaleLabel: {
+ display: true,
+ labelString: 'commit',
+ },
+ }
+ ],
+ yAxes: [
+ {
+ scaleLabel: {
+ display: true,
+ labelString: dataset.length > 0 ? dataset[0].bench.unit
: '',
+ },
+ ticks: {
+ beginAtZero: true,
+ }
+ }
+ ],
+ },
+ tooltips: {
+ callbacks: {
+ afterTitle: items => {
+ const {index} = items[0];
+ const data = dataset[index];
+ return '\n' + data.commit.message + '\n\n' +
data.commit.timestamp + ' committed by @' + data.commit.committer.username +
'\n';
+ },
+ label: item => {
+ let label = item.value;
+ const { range, unit } = dataset[item.index].bench;
+ label += ' ' + unit;
+ if (range) {
+ label += ' (' + range + ')';
+ }
+ return label;
+ },
+ afterLabel: item => {
+ const { extra } = dataset[item.index].bench;
+ return extra ? '\n' + extra : '';
+ }
+ }
+ },
+ onClick: (_mouseEvent, activeElems) => {
+ if (activeElems.length === 0) {
+ return;
+ }
+ // XXX: Undocumented. How can we know the index?
+ const index = activeElems[0]._index;
+ const url = dataset[index].commit.url;
+ window.open(url, '_blank');
+ },
+ };
+
+ new Chart(canvas, {
+ type: 'line',
+ data,
+ options,
+ });
+ }
+
+ function renderBenchSet(name, benchSet, main) {
+ const setElem = document.createElement('div');
+ setElem.className = 'benchmark-set';
+ main.appendChild(setElem);
+
+ const nameElem = document.createElement('h1');
+ nameElem.className = 'benchmark-title';
+ nameElem.textContent = name;
+ setElem.appendChild(nameElem);
+
+ const graphsElem = document.createElement('div');
+ graphsElem.className = 'benchmark-graphs';
+ setElem.appendChild(graphsElem);
+
+ for (const [benchName, benches] of benchSet.entries()) {
+ renderGraph(graphsElem, benchName, benches)
+ }
+ }
+
+ const main = document.getElementById('main');
+ for (const {name, dataSet} of dataSets) {
+ renderBenchSet(name, dataSet, main);
+ }
+ }
+
+ renderAllChars(init()); // Start
+ })();
+ </script>
+ </body>
+</html>