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 f66223da5c Update compiler performance dashboard page
f66223da5c is described below

commit f66223da5c79d511e7bf116e0b4df956082d5814
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat May 16 07:36:56 2026 +0000

    Update compiler performance dashboard page
---
 dev/bench/perf/compiler/index.html                 |  6 +-
 dev/bench/perf/compiler/vendor/README.md           | 73 ++++++++++++++++++++++
 dev/bench/perf/compiler/vendor/chart.umd.min.js    | 20 ++++++
 .../vendor/chartjs-adapter-date-fns.bundle.min.js  |  7 +++
 4 files changed, 104 insertions(+), 2 deletions(-)

diff --git a/dev/bench/perf/compiler/index.html 
b/dev/bench/perf/compiler/index.html
index f1b3713de8..862b91d9ce 100644
--- a/dev/bench/perf/compiler/index.html
+++ b/dev/bench/perf/compiler/index.html
@@ -61,8 +61,10 @@
   </div>
 </div>
 
-<script 
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.umd.min.js";></script>
-<script 
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/chartjs-adapter-date-fns.bundle.min.js";></script>
+<!-- Vendored locally (see vendor/README) instead of a CDN: avoids a 
third-party
+     runtime dependency / supply-chain surface for the published dashboard. -->
+<script src="vendor/chart.umd.min.js"></script>
+<script src="vendor/chartjs-adapter-date-fns.bundle.min.js"></script>
 <script src="data.js"></script>
 <script>
 (function () {
diff --git a/dev/bench/perf/compiler/vendor/README.md 
b/dev/bench/perf/compiler/vendor/README.md
new file mode 100644
index 0000000000..71e6dd5835
--- /dev/null
+++ b/dev/bench/perf/compiler/vendor/README.md
@@ -0,0 +1,73 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+# Vendored dashboard dependencies
+
+These JavaScript files are vendored verbatim (no modification) so the
+performance dashboard published to the `gh-pages` branch has no
+third-party CDN runtime dependency. This removes a supply-chain /
+availability surface from the published page.
+
+When bumping a version: re-download from the exact pinned URL below,
+replace the file, update the version and SHA-256 here, and verify the
+dashboard still renders.
+
+| File | Project | Version | Upstream | License |
+|------|---------|---------|----------|---------|
+| `chart.umd.min.js` | Chart.js | 4.4.4 | 
https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.umd.min.js | MIT |
+| `chartjs-adapter-date-fns.bundle.min.js` | chartjs-adapter-date-fns (bundles 
date-fns) | 3.0.0 | 
https://cdn.jsdelivr.net/npm/[email protected]/dist/chartjs-adapter-date-fns.bundle.min.js
 | MIT |
+
+SHA-256 (as vendored):
+
+```
+b38076762f7363bc9e912b68b8e034826798db5df26bb61f000ec2e7a3137bc7  
chart.umd.min.js
+ea7ab30d26c38dcf1f2d26bb43e73a94537b58f1906f55e1a546dd09321b5615  
chartjs-adapter-date-fns.bundle.min.js
+```
+
+Both projects (and the `date-fns` library bundled inside the adapter)
+are distributed under the MIT License. Bundling MIT-licensed works in
+an Apache-licensed project is permitted; the MIT license text is
+reproduced below as required by its terms.
+
+## The MIT License
+
+```
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+```
+
+Upstream license sources:
+- Chart.js: https://github.com/chartjs/Chart.js/blob/master/LICENSE.md
+- chartjs-adapter-date-fns: 
https://github.com/chartjs/chartjs-adapter-date-fns/blob/master/LICENSE.md
+- date-fns: https://github.com/date-fns/date-fns/blob/main/LICENSE.md
diff --git a/dev/bench/perf/compiler/vendor/chart.umd.min.js 
b/dev/bench/perf/compiler/vendor/chart.umd.min.js
new file mode 100644
index 0000000000..06d52d4ec3
--- /dev/null
+++ b/dev/bench/perf/compiler/vendor/chart.umd.min.js
@@ -0,0 +1,20 @@
+/**
+ * Skipped minification because the original files appears to be already 
minified.
+ * Original file: /npm/[email protected]/dist/chart.umd.js
+ *
+ * Do NOT use SRI with dynamically generated files! More information: 
https://www.jsdelivr.com/using-sri-with-dynamic-files
+ */
+/*!
+ * Chart.js v4.4.4
+ * https://www.chartjs.org
+ * (c) 2024 Chart.js Contributors
+ * Released under the MIT License
+ */
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof 
module?module.exports=e():"function"==typeof 
define&&define.amd?define(e):(t="undefined"!=typeof 
globalThis?globalThis:t||self).Chart=e()}(this,(function(){"use strict";var 
t=Object.freeze({__proto__:null,get Colors(){return Go},get Decimation(){return 
Qo},get Filler(){return ma},get Legend(){return ya},get SubTitle(){return 
ka},get Title(){return Ma},get Tooltip(){return Ba}});function e(){}const 
i=(()=>{let t=0;return()=>t++} [...]
+/*!
+ * @kurkle/color v0.3.2
+ * https://github.com/kurkle/color#readme
+ * (c) 2023 Jukka Kurkela
+ * Released under the MIT License
+ */function _t(t){return t+.5|0}const 
yt=(t,e,i)=>Math.max(Math.min(t,i),e);function vt(t){return 
yt(_t(2.55*t),0,255)}function Mt(t){return yt(_t(255*t),0,255)}function 
wt(t){return yt(_t(t/2.55)/100,0,1)}function kt(t){return 
yt(_t(100*t),0,100)}const 
St={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Pt=[..."0123456789ABCDEF"],Dt=t=>Pt[15&t],Ct=t=>Pt[(240&t)>>4]+Pt[15&t],Ot=t=>(240&t)>>4==(15&t);function
 At(t){var e=(t=>Ot(t.r)&&Ot [...]
+//# sourceMappingURL=chart.umd.js.map
diff --git 
a/dev/bench/perf/compiler/vendor/chartjs-adapter-date-fns.bundle.min.js 
b/dev/bench/perf/compiler/vendor/chartjs-adapter-date-fns.bundle.min.js
new file mode 100644
index 0000000000..37bffe67e8
--- /dev/null
+++ b/dev/bench/perf/compiler/vendor/chartjs-adapter-date-fns.bundle.min.js
@@ -0,0 +1,7 @@
+/*!
+ * chartjs-adapter-date-fns v3.0.0
+ * https://www.chartjs.org
+ * (c) 2022 chartjs-adapter-date-fns Contributors
+ * Released under the MIT license
+ */
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof 
module?e(require("chart.js")):"function"==typeof 
define&&define.amd?define(["chart.js"],e):e((t="undefined"!=typeof 
globalThis?globalThis:t||self).Chart)}(this,(function(t){"use strict";function 
e(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return 
isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function r(t,e){if(e.length<t)throw 
new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" 
present")}functi [...]

Reply via email to