Include trace timings (when enabled) in MiniProfiler


#1

Include timings for the WebForms page lifecycle events when trace is enabled.

To clarify. You can enable trace output in web.config which will include timings for when each page lifecycle event starts and ends (i.e. Page_Load). I’d like these timings to be included in MiniProfiler without me having to manually instrument all of my pages.

alt text


#2

sounds totally sane … how do you subscribe to this information ?


#3

I think you’d have to implement a TraceListener (http://msdn.microsoft.com/en-us/library/System.Diagnostics.TraceListener.aspx) but I haven’t looked into it.