Re:What’s Up With All These Changes in Rails?
by wycats on Tuesday June 14, 2011 @04:40PM
(#2654659)
Benchmarks on ActiveRecord before the work Aaron did on Arel (which was dropped in in 3.0.x due to the magnitude of the perfect issue/improvement) are not totally relevant today.
There are still some issues, but there is still low-hanging-fruit as well, such as Aaron's work to add prepare statement caching to Rails 3.1
Re:What’s Up With All These Changes in Rails?
by ssmoot on Tuesday June 14, 2011 @06:42PM
(#2655114)
You'd reasonably expect to give up partial updates for prepared statements, and IIRC their performance benefit was fairly marginal anyways.
Re:What’s Up With All These Changes in Rails?
by tenderlove on Wednesday June 15, 2011 @04:25AM
(#2656392)
Ya, that is not acceptable. File a ticket for me (if you haven't already), and I'll fix this.
As a side note, we need to start keeping benchmarks like this and graph over time. We (rails core) should know about regressions like this before the general public.
https://gist.github.com/260280
Edit: Ran it with AR 3.0.7 and 3.1.0.rc4. Granted, this is with a 2-years newer CPU, but 3.0.7 is a huge step up. 3.1 seems to have regressed again, I'll ping tenderlove about it when I see him.
https://gist.github.com/fabfaf1bd8503fbf6d32