Skip to content
This repository
Browse code

Process time should be wall time when benchmarking

  • Loading branch information...
commit e0fa041fce963744eaa4ef98a55d90ed895a6a00 1 parent 859e150
Pratik authored January 09, 2009
2  activesupport/lib/active_support/testing/performance.rb
@@ -12,7 +12,7 @@ module Performance
12 12
         if benchmark = ARGV.include?('--benchmark')  # HAX for rake test
13 13
           { :benchmark => true,
14 14
             :runs => 4,
15  
-            :metrics => [:process_time, :memory, :objects, :gc_runs, :gc_time],
  15
+            :metrics => [:wall_time, :memory, :objects, :gc_runs, :gc_time],
16 16
             :output => 'tmp/performance' }
17 17
         else
18 18
           { :benchmark => false,

0 notes on commit e0fa041

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