Re: [Rails] Re: Extremely slow start up with ruby 1.9.1 vs 1.8.7
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.
Any suggestions anyone?
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home