On Sun, Apr 4, 2010 at 10:57 AM, Andre Lewis <[email protected]> wrote:

> Is anyone else seeing significantly worse performance after upgrading an
> app to Rails3?
>
> Two datapoints after upgrading an app:
>
> * an action that averages ~550ms in Rails2.3.5 averages nearly twice as
> long (1020ms) in Rails3beta2.
> * startup time is much longer in Rails2. To demonstrate, I'm using runner:
>
> ### Rails 2.3.5:
>
> ~/projects/rails/tempo(master) $ time ruby script/runner 'puts "Rails 2
> here"'
> Rails 2 here
> *real** **0m2.366s*
>
> ### Rails 3beta2:
>
> ~/projects/rails/tempo(rails3) $ time rails runner 'puts "Rails 3 here"'
> Rails 3 here
> *real** **0m12.053s*
>
> That's 5x longer for Rails 3. Same app, same Ruby version (1.8.7p249).
> Anyone seeing something similar, or (hopefully) better?
>

Andre, Rails 3 is still currently in beta.  Thus, the Rails core team are
still fixing relevant bugs, cleaning up overall functionality, and
the optimizations will come.  Also, Rails 3 performs much better with Ruby
1.9.2 than 1.8.7 but your mileage will vary depending on
your platform.  In short, Rails 3 beta has been deployed into many
production environments but it hasn't been released as production
ready system.  The release candidates (RC) should be coming soon after the
beta period which will be fully optimized for running your
performance tests before we see a final release.

Good luck,

-Conrad

ps:  I'm basing this information on previous releases of Rails where we go
through the following phases:  alpha, beta, release candidate,
and final.  Thus, the software development work flow may or may not have
changed for this version of Rails.

>  --
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>

-- 
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 [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-talk?hl=en.

Reply via email to