Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Instrument ActionController rendering begin and end time

#4467

The ActionController instrumentation system currently logs the view rendering duration, but not the begin and end time points. I need this information for a plugin. I suppose I can add this functionality by monkey patching things but Rails 3 seems to be moving away from monkey patching, so I'm submitting this patch.

Reported by Hongli Lai · April 24th, 2010 @ 11:38 AM

State: invalid
Milestone: 3.0.2
Assigned to: nobody
Importance: Low

Activity

  1. José Valim
    José Valim
    • Milestone cleared.
    • State changed from new to invalid

    You just need to create a module that measures view_begin and view_end for you and include it in AC::Base.

    April 24th, 2010 @ 12:15 PM

  2. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to Low

    October 15th, 2010 @ 11:01 PM