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:
parent
859e1508be
commit
e0fa041fce
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue