class

ActionController::PerformanceTest

rails latest stable - Superclass: ActionController::IntegrationTest

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

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.

Included modules

  • ActiveSupport::Testing::Default
  • ActiveSupport::Testing::Performance

Files

  • actionpack/lib/action_controller/performance_test.rb