Enabling the SharePoint Developer Dashboard
The Developer Dashboard is to help developers/ administrators with logging and debugging custom components that are added to SharePoint pages. It uses a simple process of elimination to isolate which component in a SharePoint page is the root cause for the slow performance. Developer Dashboard provides details on
- How long it took threads to process
- Details on the quantity and execution duration of SQL Server database calls and
- Details on Windows Communication Foundation (WCF) service calls
- Details on the URL
- Current user
- Load time etc.,
The Developer Dashboard can be turned on or enabled for an entire farm to get a snapshot of the activity and performance of a specific page request.
To enable this dashboard, run the following commands from the SharePoint management shell:
$content = ([Microsoft.SharePoint.Administration.SPWebService]::ContentService)
$appsetting =$content.DeveloperDashboardSettings
$appsetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::On
$appsetting.Update()