So I remember a couple months ago playing with JRuby, and while fibonacci was super fast, Rails was way off.. ActiveRecord performance 6x-10x slower than MRI...
Looks like its getting better. Disclaimer: These are really really simple non-scientific tests.
Local mysql database, MYISAM, table people, with 2 columns, (id, name). 100k rows
> jruby -J-server -O script/console production >> Benchmark.measure {10000.times {Person.find :first}}.total => 2.286
> ./script/console production >> Benchmark.measure {10000.times {Person.find :first}}.total => 1.7
Mongrel > ab -n 1000 http://localhost:3001/people/1 Requests per second: 95.02 [#/sec] (mean)
> ab -n 1000 http://localhost:8080/glass2/people/1 Requests per second: 48.25 [#/sec] (mean)
turning logging mostly off
> ab -n 1000 http://localhost:8080/glass2/people/1 Requests per second: 56.70 [#/sec] (mean)
