instance method
allocations
Ruby on Rails 8.0.4
Since v6.0.6Signature
allocations()
Returns the number of allocations made between the call to #start! and the call to #finish!.
Source
# File activesupport/lib/active_support/notifications/instrumenter.rb, line 176
def allocations
@allocation_count_finish - @allocation_count_start
end
Defined in activesupport/lib/active_support/notifications/instrumenter.rb line 176
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Notifications::Event