Re: [jira] [Commented] (GROOVY-10307) Groovy 4 runtime performance on average 2.4x slower than Groovy 3

2022-05-07 Thread Paul King
Yes. On Sun, May 8, 2022 at 10:42 AM mgroovy (Jira) wrote: > > > [ > https://issues.apache.org/jira/browse/GROOVY-10307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533368#comment-17533368 > ] > > mgroovy commented on GROOVY-10307: > -

Re: Groovy 3 -> 4 Performance Degradation Sample

2022-05-07 Thread MG
Hi Daniel, could you confirm that with my sample ? I have tried all the optimization settings when you proposed them before ("-Dgroovy.indy.optimize.threshold=0" threw an NPE, but "-Dgroovy.indy.optimize.threshold=2" should lead to the same result as far as I understand), and that alas did no

Re: Groovy 3 -> 4 Performance Degradation Sample

2022-05-07 Thread Daniel Sun
Hi mg, Groovy 4 enables indy, i.e. invokedynamic by default, and the default threshold for optimization of indy is 10,000. We can adjust its value by the system property "groovy.indy.optimize.threshold", e.g. "-Dgroovy.indy.optimize.threshold=0". When the related code is executed more than

Groovy 3 -> 4 Performance Degradation Sample - Download all Files as single ZIP

2022-05-07 Thread MG
To download all 3 files in a single ZIP, you can use the following URL: https://github.com/mgroovy/groovyperformance/zipball/master/ Cheers, mg