Sha256: 906261eccebe3c10bd83e651de6a8e2438432243f119a01f1865b2c397e973de

Contents?: true

Size: 780 Bytes

Versions: 42

Compression:

Stored size: 780 Bytes

Contents

require 'active_support/testing/performance'
require 'active_support/testing/default'

begin
  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
rescue NameError
  $stderr.puts "Specify ruby-prof as application's dependency in Gemfile to run benchmarks."
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
actionpack-3.0.20 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.19 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.18 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.17 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.16 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.15 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.14 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.13 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.13.rc1 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.12 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.12.rc1 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.11 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.10 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.10.rc1 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.9 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.9.rc5 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.9.rc4 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.9.rc3 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.9.rc1 lib/action_dispatch/testing/performance_test.rb
actionpack-3.0.8 lib/action_dispatch/testing/performance_test.rb