Permalink
Browse files

Process time should be wall time when benchmarking

  • Loading branch information...
1 parent 859e150 commit e0fa041fce963744eaa4ef98a55d90ed895a6a00 @lifo lifo committed Jan 9, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/testing/performance.rb
@@ -12,7 +12,7 @@ module Performance
if benchmark = ARGV.include?('--benchmark') # HAX for rake test
{ :benchmark => true,
:runs => 4,
- :metrics => [:process_time, :memory, :objects, :gc_runs, :gc_time],
+ :metrics => [:wall_time, :memory, :objects, :gc_runs, :gc_time],
:output => 'tmp/performance' }
else
{ :benchmark => false,

0 comments on commit e0fa041

Please sign in to comment.