Charles Oliver Nutter-2 wrote:
>
> 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
>
I noticed that there is already an issue covering this topic:
http://jira.codehaus.org/browse/JRUBY-2184
JRuby is on-par with simple models (a few ints) with my setup so I tried
with ten datetime columns. JRuby is about 20% slower, please look at the
comment which I've added. Probably not top prio for 1.1.3
--
View this message in context:
http://www.nabble.com/JRuby-1.1.3-by-end-of-week...Nominate-problems-here...-tp18448971p18459836.html
Sent from the JRuby - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email