1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib/action_view
Eileen Uchitelle e8c1be4ae7 Add allocations to template renderer subscription
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)
```
2018-10-10 08:07:12 -04:00
..
helpers Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
locale
renderer Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
tasks Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
template Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
testing Enable Performance/UnfreezeString cop 2018-09-23 08:56:55 +09:00
base.rb [Action View] require_relative => require 2017-10-21 22:48:28 +09:00
buffers.rb [ci skip] Doc ActionView::OutputBuffer 2018-09-06 15:28:45 -05:00
context.rb ActionController -> Action Controller [ci skip] 2018-04-17 12:14:10 +02:00
dependency_tracker.rb [Action View] require_relative => require 2017-10-21 22:48:28 +09:00
digestor.rb Don’t allocate array on no args 2018-09-07 17:33:10 -05:00
flows.rb Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
gem_version.rb Start Rails 6.0 development!!! 2018-01-30 18:51:17 -05:00
helpers.rb Remove RecordTagHelper 2018-04-07 09:28:01 +09:00
layouts.rb [Action View] require_relative => require 2017-10-21 22:48:28 +09:00
log_subscriber.rb Add allocations to template renderer subscription 2018-10-10 08:07:12 -04:00
lookup_context.rb Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
model_naming.rb Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
path_set.rb Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
railtie.rb Add action_view.finalize_compiled_template_methods config option 2018-04-02 20:50:33 +01:00
record_identifier.rb Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
rendering.rb [Action View] require_relative => require 2017-10-21 22:48:28 +09:00
routing_url_for.rb respect path_only option when an array is passed into url_for 2018-10-01 19:31:08 +02:00
template.rb Fix rubocop issue 2018-10-03 23:31:40 +03:00
test_case.rb Enable Performance/UnfreezeString cop 2018-09-23 08:56:55 +09:00
version.rb Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
view_paths.rb Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00