My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Performance  
Performance vs Java
Updated Sep 6, 2011 by alex.tka...@gmail.com

Performance vs Java and dynamic Groovy

Theoretically code compiled from Groovy++ should run as fast as Java. Time to time we run set of benchmarks to make sure it happens in practice. Sources of benchmarks can be found at https://github.com/alextkachman/fib-benchmark

Here are results of benchmarks done on 06/09/2011 Time in ms

BenchmarkJavaGroovy++ 1.7.10Groovy 1.7.10Groovy++ 1.8.2Groovy 1.8.2
Binary Trees140481353617514414508134904
Fannkuch211062179192202920841847244
Quicksort6806791452967920401
Spectral Norm468647661588964981179102
Thread Ring4550443630328487228574
Fib I5435181746952915767
Fib II5165251711552014951
Fib III5024921794748215362
Fib IV5154761636851414380
Fasta5314507392418554797986
Nbody8068304220685344859
LockPerf3986420113945430814404

Here are results of benchmarks done on 26/04/2011 Time in ms

BenchmarkJavaGroovy++ 1.7.10Groovy 1.7.10Groovy++ 1.8.0 rc-4Groovy 1.8.0 rc-4
Binary Trees141991449516875214581154469
Fannkuch196721985796262719703761781
Quicksort6697001520066920430
Spectral Norm459647661854004782110067
Thread Ring4630458333262441531325
Fib I534534168645011616
Fib II505547167095058179
Fib III484485160004651649
Fib IV494484159594958008
Fasta52345473102633544189890
Nbody8048344617186150270
LockPerf4041420214458411915151

Here are results of benchmarks done on 17/01/2011 Time in ms

BenchmarkJavaGroovy++Groovy 1.7.6Groovy 1.8.0 beta 3
Binary Trees2378723124208704173551
Fannkuch21306210191052957993285
Quicksort6696752237916424
Spectral Norm45584759173186229981
Thread Ring461445733707636280
Fib I534536170879089
Fib II519506170438347
Fib III526503162811351
Fib IV510546163607964
Fasta51005204102865110429
Nbody92084147872failed

Here are results of benchmarks done on 02/09/2010 Time in ms

BenchmarkJavaGroovy++
Binary Trees5591049714
Fasta873210527
Thread Ring1190310336
Spectral Norm1162911866
Fannkuch5729272829
Mandelbrot3910032468
NBody1626716549
Pi Digits4901650223
Chameneos Redux2471624900
Revcomp29201

Comment by db.mo...@gmail.com, Oct 24, 2011

Very nice!


Sign in to add a comment
Powered by Google Project Hosting