Just read this post…
Just saying… it’s interesting. Seems to be a lot of the benchmarking bug going around these days.
Just read this post…
Just saying… it’s interesting. Seems to be a lot of the benchmarking bug going around these days.
Before you decide to bring your current JRuby on Rails app to the latest 2.1.0 version… you may want to take a look at the performance. I was running the console benchmark from this blog post with jruby trunk and saw some numbers I wasn’t expecting:
in console: 6.times {puts Benchmark.measure {10000.times {Person.find :first}}.total}
4.47 : jruby 1.1.2 & rails 2.0.2 (jdbc) (best out of 6 runs)
5.43 : jruby 1.1.2 & rails 2.1.0 (jdbc)
4.12 : jruby 1.1.3 (trunk) & rails 2.0.2 (jdbc)
5.06 : jruby 1.1.3 (trunk) & rails 2.1.0 (jdbc)
JRuby trunk IS faster than 1.1.2 as expected, but JRuby overall is experiencing a (pretty significant) slowdown when running Rails 2.1.0.
Hopefully finding the culprit for this slowdown will open the floodgates for improving JRuby on Rails performance.
When you have to write something like this (on mac), things are bad mmmmkay?
loop do
if system('curl -m 2 http://google.com')
system("say \"Mike! Cox Communications has finally fixed the lines, we're back in business!\"")
end
sleep(30)
end