Hi, Using "-Dgroovy.antlr4=false", it takes 38s, therefore, it is similar to groovy 2.5.
When setting both "-Dgroovy.antlr4.cache.threshold=200" or "-Dgroovy.antlr4.cache.threshold=600", it is slow: 1m 41s the first, and 1m 48s the second. p On Fri, Jan 17, 2020 at 10:11 PM Daniel.Sun <sun...@apache.org> wrote: > Here is the detailed result: > results.zip <http://groovy.329449.n5.nabble.com/file/t340716/results.zip> > > > Under Windows, we can set the JVM option by: > set JAVA_OPTS=-Xms2g -Xmx2G -Dgroovy.antlr4.cache.threshold=600 > > then run `groovy Parse.groovy 2` or `groovy Parse.groovy 4` > > Cheers, > Daniel.Sun > > > > ----- > Apache Groovy committer & PMC member > Blog: http://blog.sunlan.me > Twitter: @daniel_sun > > -- > Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html >