method

run_warmup

rails latest stable - Class: ActiveSupport::Testing::Performance

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

run_warmup()
protected

No documentation available.

# File activesupport/lib/active_support/testing/performance.rb, line 126
        def run_warmup
          run_gc

          time = Metrics::Time.new
          run_test(time, :benchmark)
          puts "%s (%s warmup)" % [full_test_name, time.format(time.total)]

          run_gc
        end