Class | ActiveSupport::Testing::Metrics::GcRuns |
In: |
vendor/rails/activesupport/lib/active_support/testing/performance.rb
|
Parent: | Base |
Mode | = | RubyProf::GC_RUNS if RubyProf.const_defined?(:GC_RUNS) |
# File vendor/rails/activesupport/lib/active_support/testing/performance.rb, line 427 427: def format(measurement) 428: measurement.to_i.to_s 429: end
# File vendor/rails/activesupport/lib/active_support/testing/performance.rb, line 422 422: def measure 423: GC.heap_info['num_gc_passes'] 424: end