Java 7 Groovy twice as fast as Java 8 and 9
Richard Kolb
rjdkolb at gmail.com
Tue Feb 17 06:18:00 UTC 2015
Hello All,
I've created my own micro beanchmarks with jmh.
It's forked to here :
https://github.com/AdoptOpenJDK/vmbenchmarks
Most of the benchmarks clearly show how performance is increasing except
for Groovy.
https://github.com/AdoptOpenJDK/vmbenchmarks/blob/master/src/main/java/com/github/vmbenchmarks/DynamicLanguages.java
Perhaps my benchmark is wrong, but it looks like 8 and 9 are significantly
slower than 7.
Java 7 (build 1.7.0_60-b19):
c.g.v.DynamicLanguages.groovy 665.826 ops/s
Java 8 (build 1.8.0_31-b13):
c.g.v.DynamicLanguages.groovy 366.274
Java 9 (build 1.9.0-ea-b42) :
c.g.v.DynamicLanguages.groovy 375.593 ops/s
regards,
Richard.
More information about the adoption-discuss
mailing list