Methods

Class/Module Index [+]

Quicksearch

ActiveSupport::Testing::Performance::Metrics::Objects

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 374
def format(measurement)
  measurement.to_i.to_s
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 363
def measure
  GC.malloc_allocations
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.