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) ``` |
||
---|---|---|
.. | ||
controller_runtime_test.rb | ||
debug_helper_test.rb | ||
form_helper_activerecord_test.rb | ||
multifetch_cache_test.rb | ||
polymorphic_routes_test.rb | ||
relation_cache_test.rb | ||
render_partial_with_record_identification_test.rb |