<p>I've been tasked with <em>improving the performance of an ASP.NET 2.0 application</em>.<br>  The page I'm currently focused on has many problems but one that I'm having trouble digging into is the render time of the page.  Using Trace.axd the duration between Begin Render and End Render is 1.4 seconds.  From MSDN I see that</p>

<blockquote>
  <p>All ASP.NET Web server controls have a
  Render method that writes out the
  control's markup that is sent to the
  browser.</p>
</blockquote>

<p>If I had the source code for all the controls on the page, I would just instrument them to trace out their render time.  Unfortunately, this particular page has lots of controls, most of them third-party.  Is there tool or technique to get better visibility into what is going on during the render?  I would like to know if there is a particularly poorly performing control, or if there are simply too many controls on the page.</p>

[{'answer_id': 15516, 'author': 'Mark Cidade', 'author_id': 1659, 'author_profile': 'https://Stackoverflow.com/users/1659', 'pm_score': 2, 'selected': False, 'text': '<pre><code>&lt;%@Page Trace="true" %&gt;\n</code></pre>\n\n<p>See <a href="http://www.asp101.com/articles/robert/tracing/default.asp" rel="nofollow noreferrer">http://www.asp101.com/articles/robert/tracing/default.asp</a>.</p>\n'}, {'answer_id': 15622, 'author': 'Adam Tuttle', 'author_id': 751, 'author_profile': 'https://Stackoverflow.com/users/751', 'pm_score': 0, 'selected': False, 'text': '<p>It may not help if the problem is inside one of your controls - as you expect - but if the page is poorly designed and that\'s causing render to be slow, <a href="http://developer.yahoo.com/yslow/" rel="nofollow noreferrer">YSlow</a> should help clean that up.</p>\n'}, {'answer_id': 18052, 'author': 'Gabriël', 'author_id': 2104, 'author_profile': 'https://Stackoverflow.com/users/2104', 'pm_score': 3, 'selected': True, 'text': '<p>Download ANTS PROFILER, this will give you a perfect overview of the lines causing the slowdown.</p>\n\n<p>Also when it\'s about rendering make sure you don\'t use to much string concats (like string += "value") but use StringBuilders to improve performance.</p>\n'}]
['https://Stackoverflow.com/questions/15513', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1767/']