1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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)