diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-07-16 22:27:04 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-07-17 23:18:21 -0700 |
commit | 7430c4168fad07b480dbf80c8ac75ba7db8c634f (patch) | |
tree | b731089dc6af10ce0e934751065c49373b2f8db1 /activesupport | |
parent | 57a2780f14447152ece1b1301fc6c25b2ec43da5 (diff) | |
download | rails-7430c4168fad07b480dbf80c8ac75ba7db8c634f.tar.gz rails-7430c4168fad07b480dbf80c8ac75ba7db8c634f.tar.bz2 rails-7430c4168fad07b480dbf80c8ac75ba7db8c634f.zip |
Decrease default benchmark runs from 10 to 4
Diffstat (limited to 'activesupport')
-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 5f2027eb3b..71d6f4d9c6 100644 --- a/activesupport/lib/active_support/testing/performance.rb +++ b/activesupport/lib/active_support/testing/performance.rb @@ -11,7 +11,7 @@ module ActiveSupport DEFAULTS = if benchmark = ARGV.include?('--benchmark') # HAX for rake test { :benchmark => true, - :runs => 10, + :runs => 4, :metrics => [:process_time, :memory, :objects, :gc_runs, :gc_time], :output => 'tmp/performance' } else |