GROOVY-12162: Harden and extend bytecode peephole optimization#2707
GROOVY-12162: Harden and extend bytecode peephole optimization#2707daniellansun wants to merge 1 commit into
Conversation
0ce2212 to
58dcf7a
Compare
There was a problem hiding this comment.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.
| Benchmark suite | Current: 58dcf7a | Previous: 86c6648 | Ratio |
|---|---|---|---|
org.apache.groovy.bench.AryBench.java ( {"n":"100"} ) |
0.015477611489812521 ms/op |
0.010068018756442 ms/op |
1.54 |
org.apache.groovy.bench.CalibrationBench.memoryPointerChase |
1028.751188529392 us/op |
436.7830551645615 us/op |
2.36 |
This comment was automatically generated by workflow using github-action-benchmark.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2707 +/- ##
==================================================
- Coverage 69.1077% 69.0978% -0.0100%
- Complexity 34235 34247 +12
==================================================
Files 1537 1538 +1
Lines 129356 129379 +23
Branches 23503 23514 +11
==================================================
+ Hits 89395 89398 +3
- Misses 31941 31953 +12
- Partials 8020 8028 +8
🚀 New features to boost your workflow:
|
|
JMH summary — classic (commit
|
| Group | Speedup | Calibrated | n |
|---|---|---|---|
| bench | 0.990 × | 0.982 × | 84 |
| core | 1.023 × | 1.031 × | 77 |
| grails | 0.988 × | 1.013 × | 80 |
Runner calibration (this run vs baseline hardware): bench 1.00× (26 rulers) · core-ag 0.98× (3 rulers) · core-hz 1.01× (3 rulers) · grails-ad 0.96× (3 rulers) · grails-ez 0.99× (3 rulers)
Baseline: dev/bench/jmh/<part>/classic/data.js on gh-pages, trailing 90 days. Daily dashboard · Per-suite raw data
JMH summary — indy (commit
|
| Group | Speedup | Calibrated | n |
|---|---|---|---|
| bench | 0.965 × | 0.994 × | 84 |
| core | 3.516 × | 3.304 × | 77 |
| grails | 2.600 × | 2.354 × | 80 |
⚠️ Runner speed differs ≥15% from the historical baseline hardware for: grails-ad. Raw speedups are not meaningful for those parts — use the calibrated column.
Runner calibration (this run vs baseline hardware): bench 0.97× (26 rulers) · core-ag 1.00× (3 rulers) · core-hz 1.14× (3 rulers) · grails-ad 1.40× (3 rulers) · grails-ez 0.91× (3 rulers)
Baseline: dev/bench/jmh/<part>/indy/data.js on gh-pages, trailing 90 days. Daily dashboard · Per-suite raw data
✅ All tests passed ✅🏷️ Commit: 58dcf7a Learn more about TestLens at testlens.app. |


https://issues.apache.org/jira/browse/GROOVY-12162