Investigating page performance in Umbraco 4Posted: March 16, 2012
Well, remember when dealing with performance, you should always use metrics, not your intuition. Repeat after me, metrics, not intuition. So, how do we do that in Umbraco?
Umbraco makes this easy, simply add umbDebugShowTrace=true as a url parameter to your page. This enables ASP.NET page level tracing for that page and Umbraco also liberally writes to the Trace object. The trace results will be rendered into the page, see below.
Or you can use /Trace.axd , built-in to ASP.NET to view the trace results, see below.
That didn’t work?
1) Make sure you have umbDebug set to true in the Web.config. When deploying to production this needs to be false.
<appSettings> <add key="umbracoDebugMode" value="true" /> </appSettings>
2) Make sure you have tracing turned on in the Web.config. When deploying to production, this needs to be false.
<system.web> <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" /> </system.web>