instance method gc_time

Ruby on Rails 7.2.3

Since v7.2.3

Available in: v7.2.3 v8.0.4 v8.1.2

Signature

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

Type at least 2 characters to search.

↑↓ navigate · open · esc close