aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/testing/performance.rb1
-rw-r--r--activesupport/lib/active_support/testing/performance/ruby.rb3
2 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/testing/performance.rb b/activesupport/lib/active_support/testing/performance.rb
index 0472f44a20..ec11c60534 100644
--- a/activesupport/lib/active_support/testing/performance.rb
+++ b/activesupport/lib/active_support/testing/performance.rb
@@ -17,7 +17,6 @@ module ActiveSupport
else
{ :benchmark => false,
:runs => 1,
- :min_percent => 0.01,
:output => 'tmp/performance' }
end
diff --git a/activesupport/lib/active_support/testing/performance/ruby.rb b/activesupport/lib/active_support/testing/performance/ruby.rb
index 13dfebbece..dc77f22ba2 100644
--- a/activesupport/lib/active_support/testing/performance/ruby.rb
+++ b/activesupport/lib/active_support/testing/performance/ruby.rb
@@ -10,7 +10,8 @@ module ActiveSupport
module Performance
if !ARGV.include?('--benchmark')
DEFAULTS.merge!(
- { :metrics => [:process_time, :memory, :objects],
+ { :min_percent => 0.01,
+ :metrics => [:process_time, :memory, :objects],
:formats => [:flat, :graph_html, :call_tree] })
end