How do I show the page generation time in asp.net?
<p>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)?  </p>

<p>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.</p>

<p><strong>Edit</strong>  </p>

<p>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   </p>

<pre><code>Response.Write(Context.Trace.FinalRenderTimeFromFirst)
</code></pre>

<p>But I can't figure out how to inspect the contents of the trace element.</p>
