1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Process time should be wall time when benchmarking

This commit is contained in:
Pratik Naik 2009-01-09 16:46:24 +00:00
parent 859e1508be
commit e0fa041fce

View file

@ -12,7 +12,7 @@ module ActiveSupport
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,