Methods

Class/Module Index [+]

Quicksearch

ActiveSupport::Testing::Performance::Metrics::GcTime

Constants

Mode

Public Instance Methods

format(measurement) click to toggle source
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/active_support/testing/performance.rb, line 416
def format(measurement)
  '%.2f ms' % measurement
end
measure() click to toggle source
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/active_support/testing/performance.rb, line 405
def measure
  GC::Profiler.total_time
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.