Jochen Theodorou
6/10/2008 12:16:00 PM
Charles Oliver Nutter schrieb:
> Jochen Theodorou wrote:
>> 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!
>
> You are here trolling on the Ruby lists Jochen? Don't you have some
> Groovy bugs to be fixing? :)
ah, I didn't try to troll, I put so many ;) in.
> The server VM starts up a lot slower on most systems, which is the
> reason for this test to be invalid. And in general, any benchmark under
> 5-10s is going to be a pretty poor test of JRuby performance, since the
> code might not even get compiled or optimized on such a short run.
well, ok, but it was:
> *jruby -J-server sudoku01final.rb*
> Elapsed Time: 2.474
> Elapsed Time: 2.467
> Elapsed Time: 2.347
> Elapsed Time: 2.404
> Elapsed Time: 2.326
> Elapsed Time: 2.414
that's >12s... unless he did start over again and again, but I assumed
that is not the case because of:
*JRuby executions:* Elapsed Time: 0.888 [...]
vs.
*JRuby:
jruby sudoku01final.rb
Elapsed Time: 1.058 Secs*
but maybe I was wrong.
bye Jochen