[
https://issues.apache.org/jira/browse/GROOVY-12095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18097167#comment-18097167
]
ASF GitHub Bot commented on GROOVY-12095:
-----------------------------------------
github-actions[bot] commented on PR #2716:
URL: https://github.com/apache/groovy/pull/2716#issuecomment-5005947830
### JMH summary — indy (commit `425f096`)
Speedup vs trailing 90-day baseline on gh-pages. Higher = faster.
`1.00` = in line with history. Per-benchmark ratio, geomean within group.
Time-per-op units inverted so direction is consistent. The *calibrated*
column divides out this runner's speed vs the baseline hardware, as
measured by Groovy-independent pure-Java ruler benchmarks.
| Group | Speedup | Calibrated | n |
|--------|---------|------------|---|
| bench | _no overlap with baseline_ | — | 0 |
| core | 4.978 × | 3.858 × | 77 |
| grails | 2.180 × | 2.291 × | 80 |
> ⚠️ Runner speed differs ≥15% from the historical baseline hardware for:
core-hz. Raw speedups are not meaningful for those parts — use the calibrated
column.
<sub>Runner calibration (this run vs baseline hardware): core-ag 1.14× (3
rulers) · core-hz 1.48× (3 rulers) · grails-ad 0.98× (3 rulers) · grails-ez
0.93× (3 rulers)</sub>
<sub>Baseline: <code>dev/bench/jmh/<part>/indy/data.js</code> on
gh-pages, trailing 90 days. <a
href="https://apache.github.io/groovy/dev/bench/jmh/summary.html">Daily
dashboard</a> · <a
href="https://apache.github.io/groovy/dev/bench/jmh/">Per-suite raw
data</a></sub>
<!
> Code in groovydoc does not display correctly
> --------------------------------------------
>
> Key: GROOVY-12095
> URL: https://issues.apache.org/jira/browse/GROOVY-12095
> Project: Groovy
> Issue Type: Bug
> Components: groovy-groovydoc
> Affects Versions: 6.0.0-alpha-1
> Reporter: Daniel Sun
> Priority: Major
> Attachments: image-2026-06-22-00-29-39-966.png
>
>
> Let's take a look at javadoc of {{groovy.concurrent.AsyncScope}} first:
> {code:java}
> /**
> *
> * <pre>{@code
> * def results = AsyncScope.withScope { scope ->
> * def userTask = scope.async { fetchUser(id) }
> * def orderTask = scope.async { fetchOrders(id) }
> * return [user: await(userTask), orders: await(orderTask)]
> * }
> * // Both tasks guaranteed complete here
> * }</pre>
> *
> */
> {code}
> As we can see, groovydoc generates {{</CODE>}} at the wrong place shown as
> follows:
> {code:html}
> <pre class="language-groovy"><code><CODE>def results = AsyncScope.withScope
> { scope ->
> def userTask = scope.async { fetchUser(id) </CODE>
> def orderTask = scope.async { fetchOrders(id) }
> return [user: await(userTask), orders: await(orderTask)]
> }
> // Both tasks guaranteed complete here
> }</code></pre>
> {code}
>
> Also, {{<code>...</code>}} and {{<CODE>...</CODE>}} are redundant too.
> Here is the result rendered in chrome:
> !image-2026-06-22-00-29-39-966.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)