instance method
gc_time
Ruby on Rails 7.2.3
Since v7.2.3Signature
gc_time()
Returns the time spent in GC (in milliseconds) between the call to #start! and the call to #finish!
Source
# File activesupport/lib/active_support/notifications/instrumenter.rb, line 182
def gc_time
(@gc_time_finish - @gc_time_start) / 1_000_000.0
end
Defined in activesupport/lib/active_support/notifications/instrumenter.rb line 182
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Notifications::Event