1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/test
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
..
actionpack make bot happy 2018-09-24 16:01:34 -07:00
activerecord Add allocations to template renderer subscription 2018-10-10 08:07:12 -04:00
fixtures Enable Performance/UnfreezeString cop 2018-09-23 08:56:55 +09:00
lib/controller
template Add allocations to template renderer subscription 2018-10-10 08:07:12 -04:00
ujs Do not enable disabled elements for XHR redirects 2018-09-27 10:59:56 +02:00
abstract_unit.rb Fix more offences 2018-09-25 13:21:40 -04:00
active_record_unit.rb Remove deprecated catch-all route in the AV tests 2018-09-24 15:39:15 -07:00