Method: ActiveSupport::Notifications::Event#gc_time
- Defined in:
- activesupport/lib/active_support/notifications/instrumenter.rb
#gc_time ⇒ Object
Returns the time spent in GC (in milliseconds) between the call to #start! and the call to #finish!
182 183 184 |
# File 'activesupport/lib/active_support/notifications/instrumenter.rb', line 182 def gc_time (@gc_time_finish - @gc_time_start) / 1_000_000.0 end |