Thought I’d share a class I use for performance monitoring to help identify areas of code that are causing bottlenecks or take a lengthy time to execute. In SharePoint we can use the SPMonitoredScope class to wrap areas of code that we want to be monitored. using (new SPMonitoredScope("SharePoint Performance")) { // SharePoint related code […]
↧