Skip to content
This repository
Browse code

Merge pull request #6261 from carlosantoniodasilva/fix-build-3-1

Fix build 3-1-stable
  • Loading branch information...
commit 7b7bf33c05477d4fb408db3e3ffa0d43c4f47559 2 parents e98893b + b7080e7
Piotr Sarnacki authored May 10, 2012
2  activesupport/lib/active_support/testing/performance/ruby.rb
@@ -36,7 +36,7 @@ def run
36 36
           RubyProf.pause
37 37
           full_profile_options[:runs].to_i.times { run_test(@metric, :profile) }
38 38
           @data = RubyProf.stop
39  
-          @total = @data.threads.values.sum(0) { |method_infos| method_infos.max.total_time }
  39
+          @total = @data.threads.sum(0) { |thread| thread.methods.max.total_time }
40 40
         end
41 41
 
42 42
         def record

0 notes on commit 7b7bf33

Please sign in to comment.
Something went wrong with that request. Please try again.