Posts Tagged ‘jruby’

JRuby and why it might be nice to be back on the JVM – Part 2

In the previous post, I did some JRuby testing and noticed perf improvements over time.
Mark Imbriaco, of 37Signals, asked how it compared to MRI. I was curious too.
I can’t promise a “clean” comparison, your mileage may vary, but… MRI was:

Completed in 552ms (View: 104, DB: 14) | 200 OK [http://someurl.com/people/3]
Completed in 345ms (View: 60, DB: [...]

JRuby and why it might be nice to be back on the JVM

We ported our Rails application to JRuby in order to do some GC comparisons yesterday. Not a ton of changes required. Mostly replacing gems with native dependencies. YAML is a bit more strict than its MRI counterpart…. but all told, thats pretty amazing! Nice job JRuby crew!
That said…. one interesting, entirely un-scientific, test [...]

JRuby trunk == better/faster Rails performance

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 [...]