Victor Reyes schrieb: [...] > As suggested by JoChen, I executed the program under JRuby 14 times. > > To be fair to Ruby, I also executed it 14 times under Ruby. > You can see the results below. > > As suggested by Ed Borasky, I will send the code to Charlie Nutter, if > I can get his email. Otherwise I can post it here. It is not great > > code at all, but it is doing the work for now. > > I executed the program using *jruby -J-server* as suggested by ThoML > and results are catastrophic! See the number belows! I only ran it 6 > times. > I also can't believe that jruby has been clocked at twice the speed of > ruby since after all, jruby has more overhead than ruby. Then again, > > I am not expert on the subject (or any subject). > > *JRuby executions: > *Elapsed Time: 0.888 > Elapsed Time: 0.881 [...] > Elapsed Time: 0.881 > > *Ruby executions:* > Elapsed Time: 0.422 > Elapsed Time: 0.391 [...] > Elapsed Time: 0.39 > > *jruby -J-server sudoku01final.rb* > Elapsed Time: 2.474 [...] > Elapsed Time: 2.414 well, looking at these numbers I would suggest you subscribe to the jruby mailing list and ask why jruby is 100% slower than ruby ;) The server mode really looks awful... They need to know about this! bye Jochen