aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/performance.rb
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2009-01-09 16:46:24 +0000
committerPratik Naik <pratiknaik@gmail.com>2009-01-09 16:46:24 +0000
commite0fa041fce963744eaa4ef98a55d90ed895a6a00 (patch)
tree5f53db81a92241db16822c9ab7f64cd2dd92b6a6 /activesupport/lib/active_support/testing/performance.rb
parent859e1508bef6cecd0986c38bcba641725f06da82 (diff)
downloadrails-e0fa041fce963744eaa4ef98a55d90ed895a6a00.tar.gz
rails-e0fa041fce963744eaa4ef98a55d90ed895a6a00.tar.bz2
rails-e0fa041fce963744eaa4ef98a55d90ed895a6a00.zip
Process time should be wall time when benchmarking
Diffstat (limited to 'activesupport/lib/active_support/testing/performance.rb')
-rw-r--r--activesupport/lib/active_support/testing/performance.rb2
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,