mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Once is enough, mmk
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user