I ran one of my private benchmarks which tests the performance of the
json-jruby gem (latest rev). I have pastied the results here:
The benchmark itself is available here:
From a 10,000 foot view, the changes to jruby since 1.1.6 improved
the benchmark results by around 20%. Using the --server and --fast
switches gave an overall improvement of around 45%. The tests were
run with jruby 1.1.6 release and the jruby-trunk as of March 19 2009.
A few weeks ago I ran these tests under MRI (with the C json gem) but
I didn’t save the results. Suffice it to say that jruby destroyed MRI
in that test by around 35% (though memory usage was much higher under
jruby, like 2GB (jruby) versus 500MB (MRI)).
Jruby is getting seriously fast for my uses. I tested this on the 32-
bit Java5 VM under OSX Intel. I know from prior benchmarks that
running the 64-bit Java6 VM provides an absolute improvement of around
another 10% with server mode boosting that to 15%. YMMV.
Many many many thanks to Charles, Tom, Nick and the cast of hundreds
who have been making such steady progress on our favorite ruby
To unsubscribe from this list, please visit: