Object
# File lib/active_support/testing/performance.rb, line 96 def initialize(harness, metric) @harness, @metric = harness, metric end
# File lib/active_support/testing/performance.rb, line 100 def report rate = @total / profile_options[:runs] '%20s: %s' % [@metric.name, @metric.format(rate)] end
# File lib/active_support/testing/performance.rb, line 106 def output_filename "#{profile_options[:output]}/#{full_test_name}_#{@metric.name}" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.