I've found the problem. The gem meta_where (https://github.com/ernie/meta_where) is doing something wrong in ruby 1.9.2, just removing it from my Gemfile and my suite is running fast again(6 seconds).
Thank you guys, I'll open a issue on the meta_where project. On Sun, Apr 24, 2011 at 8:37 PM, Rodrigo Rosenfeld Rosas <lboc...@yahoo.com.br> wrote: > Em 24-04-2011 19:22, Alisson Sales escreveu: >> >> On Sun, Apr 24, 2011 at 6:23 PM, Sidu Ponnappa<ckponna...@gmail.com> >> wrote: >>> >>> Are you perhaps seeing http://is.gd/6aINHC ? We've moved several Rails >>> projects to 1.9.2 over the last few months and we've found our builds >>> running slower on all (we use RSpec too). >> >> I'm not sure if the problem is the startup time. Does the startup time >> affects results of rspec --profile? >> >> See the results of $ rspec spec/models/user_spec.rb -p here >> https://gist.github.com/939699#file__results_profile_user_spec_ > > Yes, I agree with you. It probably is some issue related to some gem that > behaves differently in Ruby 1.8 and 1.9... > > That is why I miss a real good profiler tool, like that of Google Chrome for > profiling Javascript. We discussed about this recently and David suggested > trying out ruby-prof or Rubinius: > > http://www.ruby-forum.com/topic/1511936 > > You could try the Graphic profile of ruby-prof and it might help you > identifying which part is slower on each implementation so that you could > identify what is the culprit gem, if that is the case. > > For speeding up your startup time you can try spork. It helped a lot for me. > > Good luck, > > Rodrigo. > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users