lib/ruby-prof/test.rb in ruby-prof-0.7.6 vs lib/ruby-prof/test.rb in ruby-prof-0.7.7

- old
+ new

@@ -80,10 +80,10 @@ end end data = RubyProf.stop bench = data.threads.values.inject(0) do |total, method_infos| - top = method_infos.sort.last + top = method_infos.max total += top.total_time total end puts "\n #{measure_mode_name(measure_mode)}: #{format_profile_total(bench, measure_mode)}\n" \ No newline at end of file