Once is enough, mmk

This commit is contained in:
Jeremy Kemper
2008-07-27 21:46:12 -07:00
parent ae6105ef01
commit 2cf161a384

View File

@@ -72,13 +72,13 @@ module ActiveSupport
protected
def run_warmup
5.times { GC.start }
GC.start
time = Metrics::Time.new
run_test(time, :benchmark)
puts "%s (%s warmup)" % [full_test_name, time.format(time.total)]
5.times { GC.start }
GC.start
end
def run_profile(metric)