aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/testing/performance_test.rb
blob: b1ed9d31f426a3020aa6995d07042a6adbee2fd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'active_support/testing/performance'
require 'active_support/testing/default'

module ActionDispatch
  # An integration test that runs a code profiler on your test methods.
  # Profiling output for combinations of each test method, measurement, and
  # output format are written to your tmp/performance directory.
  #
  # By default, process_time is measured and both flat and graph_html output
  # formats are written, so you'll have two output files per test method.
  class PerformanceTest < ActionDispatch::IntegrationTest
    include ActiveSupport::Testing::Performance
    include ActiveSupport::Testing::Default
  end
end