Groovy 4 and Parrot Parser performances
Jérémie <[email protected]>
| Newsgroups | gmane.comp.lang.groovy.user |
|---|---|
| Message-ID | <CAKkM0F00svT93iUOdz3vSQkjxUKzCjPb4=XhbLzN_9kKWd_r0Q@mail.gmail.com> |
Hello, I am using Groovy 3 in my project, but I had to turn off the new parser because of its performance. In my benchmark, the loading time of most of my scripts are multiplied by 12. I didn't succeed in reducing this time by using the system properties, so I had to turn it off. In Groovy 4, the old parser has been removed (?). Are the perf of the new parser the same as of Groovy 3 ? If not, is there a way to precompile these scripts ? (they are not real groovy classes but custom Script classes). Regards, Jérémie