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) ``` |
||
---|---|---|
.. | ||
helpers | ||
locale | ||
renderer | ||
tasks | ||
template | ||
testing | ||
base.rb | ||
buffers.rb | ||
context.rb | ||
dependency_tracker.rb | ||
digestor.rb | ||
flows.rb | ||
gem_version.rb | ||
helpers.rb | ||
layouts.rb | ||
log_subscriber.rb | ||
lookup_context.rb | ||
model_naming.rb | ||
path_set.rb | ||
railtie.rb | ||
record_identifier.rb | ||
rendering.rb | ||
routing_url_for.rb | ||
template.rb | ||
test_case.rb | ||
version.rb | ||
view_paths.rb |