SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are working on a pretty large scale project having large number of custom web parts with substantial amount .NET code working on Sharepoint server object model and the like.

The normal profiling techniques and tools seems inadequate, hence wished to know if there is a tool or combination of some tools to generate profile report that can be used as a starting point for effecting improvements.

MS Tools such as VSAspNetPerfmon and others are already reviewed and they seem to provide more of high level information.

Thanks, Samir P

share|improve this question

1) Have you come across the Developer Dashboard in SharePoint 2010 -

When the dashboard is turned on, you will find information about the controls, queries and execution time that occur as part of the page rendering process.

2) Visual Studio also does Performance Profiling for SharePoint 2010. Please visit this blog for detailed approach on how this could be achieved.

3) Also look into the ANTS Performance profiler tool from Redgate -

share|improve this answer
what about sandboxed solutions, we're talking about .NET code that interacts with Sharepoint server object model. – Samir Feb 14 '12 at 6:59
The Developer dashboard is indeed intended for .Net code throughout your SharePoint application. If you have custom code, insert it into using (SPMonitoredScope GetListsBtnScope = new SPMonitoredScope("Your Custom code")) . Please read through the entire article about Developer Dashboard. It should be a good fit for your requirement and it comes out of the box. – Deepu Nair Feb 14 '12 at 8:13
For sandboxed solution, the logs won't appear on ULS/ Dev Dashboard as per MSDN article. Please correct me if this is not the case, and provide a work around if there is one. – Samir Feb 15 '12 at 3:13

Take a look at NDepend

share|improve this answer
Thanks, but seems like it's more of a code quality analysis tool. I am looking for something that offers performance and memory profiling, code quality improvements could be a good to have. – Samir Feb 15 '12 at 3:15

dotTrace is the one of the best profiling tools. It can profile ASP.NET applications.

share|improve this answer
I have used dotTrace, but as you can see here we're talking about Sharepoint server object model, which will require tool to have the capabilities of analyzing from that viewpoint. – Samir Feb 14 '12 at 5:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.