Ruby on Rails Wednesday, December 29, 2010

On 28 December 2010 11:24, Colin Law <clanlaw@googlemail.com> wrote:
> On 28 December 2010 09:16, Colin Law <clanlaw@googlemail.com> wrote:
>> On 27 December 2010 22:08, Micah Geisel <lists@ruby-forum.com> wrote:
>>> Ben, did you ever figure out anything here? I'm experiencing the same
>>> problem with 1.9.2: https://gist.github.com/756616
>>>
>>
>> I am seeing a similar issue with startup between Rails 3 with 1.9.2
>> and Rails 2 with 1.8.7, though I have not investigated whether it is
>> ruby or rails that is the issue.  For example if I do rake db:migrate
>> with nothing to do it takes 7 seconds on the former but only 2 on the
>> latter.  I see the same effect starting tests and so on.  It is a bit
>> of a pain.  I am using rvm and bundler in both cases.
>
> I have done some further tests and confirmed that it is Ruby 1.9.2
> that is causing the problem.  I am comparing a Rails 3 app with ruby
> 1.9.2p0 (2010-08-18 revision 29036) [i686-linux] against ruby 1.8.7
> (2010-08-16 patchlevel 302) [i686-linux].  With a small app, as
> mentioned above, an empty rake db:migrate takes 7 seconds rather than
> 2 and Rake test takes 40 seconds on 1.9.2 versus 11 on 1.8.7.  This is
> on Ubuntu 10.04.

I have now tried this with ruby 1.9.2 p136 and it has not helped.
When I look at the processor utilisation I see that rake is consuming
all my available processor for most of the time. Can anyone confirm
that they are using 1.9.2 with rails 3 (preferably on Ubuntu or
similar) without seeing the slowdown that I have experienced.
Alternatively can anyone suggest where I go from here (apart from
buying a more powerful PC).

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment