On Sun, Jan 17, 2010 at 9:04 PM, Michael Koziarski
<[email protected]> wrote:
>> I played around with git bisect and it would seem that the move to
>> connection pools is what slows down your benchmark.
>
> Does it still cause the slow down if you explicitly turn off the
> pooling in database.yml?  e.g. pool: 1
>

Turning off pooling does indeed reduce the slow down.  It brings
AR::B.create right back in line with 2.1.2 & find is now just ~9%
slower.  So that does explain most of what we're seeing in this
benchmark.  Thanks for the suggestion!

-Ben
-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.


Reply via email to