Namespace
- MODULE ActiveSupport::Testing::Performance::ForClassicTestUnit
- MODULE ActiveSupport::Testing::Performance::ForMiniTest
- MODULE ActiveSupport::Testing::Performance::Metrics
- CLASS ActiveSupport::Testing::Performance::Benchmarker
- CLASS ActiveSupport::Testing::Performance::Performer
- CLASS ActiveSupport::Testing::Performance::Profiler
Methods
Included Modules
- ActiveSupport::Testing::Performance::ForMiniTest
- ActiveSupport::Testing::Performance::ForClassicTestUnit
Constants
DEFAULTS | = | if ARGV.include?('--benchmark') # HAX for rake test { :runs => 4, :output => 'tmp/performance', :benchmark => true } else { :runs => 1, :output => 'tmp/performance', :benchmark => false } end |
each implementation should define metrics and freeze the defaults |
Instance Public methods
full_profile_options()
Link
full_test_name()
Link
Instance Protected methods
run_gc()
Link
overridden by each implementation
run_profile(metric)
Link