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:
parent
ae6105ef01
commit
2cf161a384
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue