From: lith Date: 2009-08-26T14:25:20+09:00 Subject: Re: Comparison Ruby, Python, Php, Groovy ecc. > >> Comparison script languages for the fractal geometry, these are the > >> languages i tested: http://shootout.alioth.debian.org/u32q/benchmark.php?test=mandelbrot > OpenJDK Client VM (build 14.0-b08, mixed mode, sharing)> java Bench1 > /dev/null > > Java Elapsed 0.08 > Java Elapsed 0.079 > Java Elapsed 0.079 > ruby 1.9.2dev (2009-08-25 trunk 24642) [i686-linux]> ruby -rubygems bench2.rb > /dev/null > > Ruby Elapsed 0.059 > Ruby Elapsed 0.058 > Ruby Elapsed 0.060 I guess this wasn't the first run when the inline code got compiled? Anyway, since the runtime is so short, in the case of the java version you're to some extent measuring the JVM startup time. Another thing: if I'm not totally mistaken, a ruby float is a double in the Java world.