On a bare app I get the same numbers as you show in your gist (about a
2x factor for sys and real times).
On my relatively new app's specs I get these:
Using ~/.rvm/gems/ruby-1.9.2-p136 with gemset rails3
% time rake spec
real 1m3.337s
user 0m41.383s
sys 0m3.760s
Using ~/.rvm/gems/ruby-1.8.7-p330 with gemset rails3
% time rake spec
real 0m21.948s
user 0m12.721s
sys 0m2.248s
I ran each rvm 5 times and they're very consistent. The CPU is at 45%,
I have 2G ram and the app footprint in test is much smaller than that
(~500M).
Interesting that the ratios between the sys times and the real times
are not tracking relative to the bare app. The real time going to 3x
is nasty.
I think I'll do a ruby-prof next.
-cpr
On Dec 29, 12:55 pm, Colin Law <clan...@googlemail.com> wrote:
> On 29 December 2010 20:47, cpr <crosebr...@gmail.com> wrote:
>
> > Just FYI, I can confirm that I'm seeing the same numbers you are
> > (following your gist).
>
> > Running Ubuntu 10.4 on Virtual Box on Win 7 x64 on a MacBook Pro i7.
>
> Can I just check that you are confirming that you see a significant
> slow down between Ruby 1.8.7 and 1.9.2?
>
> 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