diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-01-09 16:46:24 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-01-09 16:46:24 +0000 |
commit | e0fa041fce963744eaa4ef98a55d90ed895a6a00 (patch) | |
tree | 5f53db81a92241db16822c9ab7f64cd2dd92b6a6 | |
parent | 859e1508bef6cecd0986c38bcba641725f06da82 (diff) | |
download | rails-e0fa041fce963744eaa4ef98a55d90ed895a6a00.tar.gz rails-e0fa041fce963744eaa4ef98a55d90ed895a6a00.tar.bz2 rails-e0fa041fce963744eaa4ef98a55d90ed895a6a00.zip |
Process time should be wall time when benchmarking
-rw-r--r-- | activesupport/lib/active_support/testing/performance.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/performance.rb b/activesupport/lib/active_support/testing/performance.rb index bd136c2596..f8d12e82b3 100644 --- a/activesupport/lib/active_support/testing/performance.rb +++ b/activesupport/lib/active_support/testing/performance.rb @@ -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, |