mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
e8c1be4ae7
This PR adds the allocations to the instrumentation for template and partial rendering. Before: ``` Rendering posts/new.html.erb within layouts/application Rendered posts/_form.html.erb (9.7ms) Rendered posts/new.html.erb within layouts/application (10.9ms) Completed 200 OK in 902ms (Views: 890.8ms | ActiveRecord: 0.8ms) ``` After: ``` Rendering posts/new.html.erb within layouts/application Rendered posts/_form.html.erb (Duration: 7.1ms | Allocations: 6004) Rendered posts/new.html.erb within layouts/application (Duration: 8.3ms | Allocations: 6654) Completed 200 OK in 858ms (Views: 848.4ms | ActiveRecord: 0.4ms | Allocations: 1539564) ``` |
||
---|---|---|
.. | ||
actionpack | ||
activerecord | ||
fixtures | ||
lib/controller | ||
template | ||
ujs | ||
abstract_unit.rb | ||
active_record_unit.rb |