Method: ActiveSupport::Notifications::Event#allocations

Defined in:
activesupport/lib/active_support/notifications/instrumenter.rb

#allocationsObject

Returns the number of allocations made between the call to #start! and the call to #finish!.



176
177
178
# File 'activesupport/lib/active_support/notifications/instrumenter.rb', line 176

def allocations
  @allocation_count_finish - @allocation_count_start
end