Methods
Constants
| Mode | = | RubyProf::GC_TIME if RubyProf.const_defined?(:GC_TIME) |
Public Instance methods
[ show source ]
# File activesupport/lib/active_support/testing/performance.rb, line 445
445: def format(measurement)
446: '%d ms' % (measurement / 1000)
447: end
[ show source ]
# File activesupport/lib/active_support/testing/performance.rb, line 440
440: def measure
441: GC.time
442: end
[ show source ]
# File activesupport/lib/active_support/testing/performance.rb, line 436
436: def measure
437: RubyProf.measure_gc_time
438: end