Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

Fix build 3-1-stable
  • Loading branch information...
commit 7b7bf33c05477d4fb408db3e3ffa0d43c4f47559 2 parents e98893b + b7080e7
@drogus drogus authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/testing/performance/ruby.rb
View
2  activesupport/lib/active_support/testing/performance/ruby.rb
@@ -36,7 +36,7 @@ def run
RubyProf.pause
full_profile_options[:runs].to_i.times { run_test(@metric, :profile) }
@data = RubyProf.stop
- @total = @data.threads.values.sum(0) { |method_infos| method_infos.max.total_time }
+ @total = @data.threads.sum(0) { |thread| thread.methods.max.total_time }
end
def record
Please sign in to comment.
Something went wrong with that request. Please try again.