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/activerecord
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
..
controller_runtime_test.rb Add allocations to template renderer subscription 2018-10-10 08:07:12 -04:00
debug_helper_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
form_helper_activerecord_test.rb Merge pull request #33973 from rails/remove-catch-all 2018-09-25 09:27:37 -07:00
multifetch_cache_test.rb Only preload misses on multifetch cache 2018-03-06 14:10:45 +11:00
polymorphic_routes_test.rb Fix more offences 2018-09-25 13:21:40 -04:00
relation_cache_test.rb Remove deprecated catch-all route in the AV tests 2018-09-24 15:39:15 -07:00
render_partial_with_record_identification_test.rb Remove deprecated catch-all route in the AV tests 2018-09-24 15:39:15 -07:00