Prasad Bolla's SharePoint Blog

Click Here to go through the Interesting posts within my Blog.

Click Here to go through the new posts in my blog.

Monday, November 28, 2011

What is Developer DashBoard?

Developer dashboard in SharePoint gives developers the ability to monitor how well their code base is performing – on a page by page basis.

For instance – when enabled, at the bottom of every page you'll see a report of all the custom code that has ran on that page, as well as how long it took to run.

This becomes very valuable information especially when querying SharePoint content. You may have several web parts on one page all querying information from across your Farm, and the SharePoint developer dashboard helps you know how well each performs, which can help you identify if one is becoming a bottle neck for your whole page

The report shows the following information:

1. What controls loaded and how long each took to load

2. What specific database queries executed and the execution time of each

3. Events that were fired during the page load

4. Order of the page lifecycle and time during each stage

5. Requests with timings for each one.

6. Database queries and their response times.

7. Load times for each Web Part on the page and Pre-render time.

8.Number of Web server SPRequest(s) and their timing.

9. Any critical events.

There are two methods to initialize this tool to work on your sites. You can do this with your handy old stsadm.exe or with PowerShell.

Stsadm.exe (either set your path statement to read in the Bin Directory or navigate to c:\program files\common files\microsoft shared\web server extensions\14\bin)

Enter the following command
stsadm –o setproperty –pn developer-dashboard –pv OnDemand

In PowerShell

(Get-SPFarm).PerformanceMonitor.DeveloperDashboardLevel = "OnDemand"

No comments:

Post a Comment