• E
    Add allocations to template renderer subscription · e8c1be4a
    Eileen Uchitelle 提交于
    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)
    ```
    e8c1be4a
log_subscriber_test.rb 8.4 KB