method

run_warmup

rails latest stable - Class: ActiveSupport::Testing

Method deprecated or moved

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

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