Closed LOG-TAG closed 10 years ago
Never trust such benchmarks ;) We have other benchmarks that prove Groovy to be as fast as Java, or even faster in some cases, and we also have other benchmarks that say it's slower. Depends on too many factors actually. Best thing you can do is try by yourself, on your application. And in particular, there's absolutely no noticeable difference in this application whether it's written in Java or Groovy.
I don't agree that language which allows developer to be more productive is OK to have also worse runtime performance. Why exactly the same code compiled by javac and groovy should be twice slower? Groovy is great and powerful but it'll be great if it will be also faster :)
Ref: http://java.dzone.com/articles/java-7-vs-groovy-21