One of the teething issues with Enterprise SharePoint solutions is performance. There are several tools such as SP Dispose checker, Health Analyzer and Diagnostics studio that are available in SharePoint to help in keeping a tab on performance issues.

In this article, we will look at one such tool - the SharePoint Developer Dashboard and analyze a scenario using the dev dashboard.

What is it?

The developer dashboard is a new feature in SharePoint 2010 providing information on the application performance assisting us in debugging issues related to performance. This feature, when enabled, displays the tracing information at the end of every page that is rendered. One thing to note though is that this can only be used when the page does not error out completely. i.e., the page must be rendered without any errors. In case of pages that error out for some issue, we have to go back to the ULS logs to figure out the cause of the failure.

Turning it on:

By default, this feature is turned off. This can be turned on by:

The screenshot below shows a page with DDB enabled in "OnDemand" mode. All the further sections are also based on DDB in "OnDemand" mode.

Shrper1.jpg

What information do I get?

The information displayed in the dashboard is categorized as:

Scenario

One of the Microsoft recommendations for performance improvement in SharePoint is to have BLOB cache enabled for the web applications. Let us analyze an application before and after enabling blob cache using the developer dashboard.

  1. We will first look at the page without ANY customizations applied.

The Dev Dashboard output of the page before the BLOB Cache is:

Shrper2.jpg

The Dev Dashboard output for the Page After BLOB Cache :

First Hit

Shrper3.jpg

Second Hit

Shrper4.jpg

Third Hit

Shrper5.jpg

Conclusion