Methods
- M
Constants
Mode | = | RubyProf::GC_TIME if RubyProf.const_defined?(:GC_TIME) |
Instance Public methods
Source: show
# File activesupport/lib/active_support/testing/performance/jruby.rb, line 108 def measure ManagementFactory.garbage_collector_mx_beans.inject(0) { |total_time, current_gc| total_time += current_gc.collection_time } / 1000.0 # seconds end