Object
# File lib/active_support/testing/performance.rb, line 148 148: def initialize(harness, metric) 149: @harness, @metric, @supported = harness, metric, false 150: end
# File lib/active_support/testing/performance.rb, line 152 152: def report 153: if @supported 154: rate = @total / full_profile_options[:runs] 155: '%20s: %s' % [@metric.name, @metric.format(rate)] 156: else 157: '%20s: unsupported' % @metric.name 158: end 159: end
# File lib/active_support/testing/performance.rb, line 162 162: def output_filename 163: "#{full_profile_options[:output]}/#{full_test_name}_#{@metric.name}" 164: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.