method
run_warmup
rails latest stable - Class:
ActiveSupport::Testing
run_warmup()protected
No documentation available.
# File activesupport/lib/active_support/testing/performance.rb, line 75
def run_warmup
GC.start
time = Metrics::Time.new
run_test(time, :benchmark)
puts "%s (%s warmup)" % [full_test_name, time.format(time.total)]
GC.start
end