Christian Seiler wrote:
yes, uname -a: Linux cs-laptop 2.6.24-19-generic
java 1.6.0_06-b02

Best out of 10.times {puts Benchmark.measure {10000.times {Profile.find
:first}}.total}
Profile is a simple AR model (a few properties).

I just noticed that 10.times {puts Benchmark.measure {10000.times
{Profile.new }}.total} is slower than with MRI (something like 0.79 vs
0.89), too. I can imagine it's hard for JRuby/AR-JDBC to compete with
MRI/MySQL/Unix sockets, but the seond benchmark is just about instantiating
objects.

Could you file a bug for that, with a simple model and benchmark script?

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to