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