Permalink
Browse files

:min_percent only makes sense in a RubyProf context

  • Loading branch information...
1 parent 1a9b1ed commit 93a583eb184f0e3ba21adeab789c7d441ab98a65 @goncalossilva goncalossilva committed Mar 27, 2011
@@ -17,7 +17,6 @@ module Performance
else
{ :benchmark => false,
:runs => 1,
- :min_percent => 0.01,
:output => 'tmp/performance' }
end
@@ -10,7 +10,8 @@ module Testing
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

0 comments on commit 93a583e

Please sign in to comment.