What is the easiest way to monitor how long it is taking to render my asp.net pages (I'm using webforms still if it matters)?
I know that the page lifecycle is pretty involved, but I'm basically just looking for one number that tells me how long my code took to run and to display that at the bottom (or wherever) of the page.
Edit
Several people have mentioned the asp.net trace config, which is awesome and I'm not sure how I missed it. The one thing I am still looking for is how to output just the final render time: ie
Response.Write(Context.Trace.FinalRenderTimeFromFirst)
But I can't figure out how to inspect the contents of the trace element.