Victor Reyes wrote:
> I knew that there was a penalty to be paid when running JRuby, but I did 
> not
> know how high.
> I developed a Sudoku solver, which actually solves simple to medium
> difficult puzzles. I am still struggling to make it solve "hard" 
> problems.
> I just installed JRuby yesterday and wanted to compare it against Ruby.
> 
> I executed the same program:
> 
> The results are in:
> *Ruby:
> ruby sudoku01final.rb
> Elapsed Time: 0.437 Secs*
> 
> jruby -v
> ruby 1.8.6 (2008-05-28 rev 6586) [x86-jruby1.1.2]
> *JRuby:
> jruby sudoku01final.rb
> Elapsed Time: 1.058 Secs*
> 
> Am I in the ball-park?

According to the metrics posted here, JRuby runs about twice as fast, 
takes longer to load and uses a lot more memory.  Here is a little 
something on the metrics:

http://www.ruby-forum.com/topic/129990#new
http://www.ruby-forum.com/topic/129996#new
-- 
Posted via http://www.ruby-forum.com/.