Best .NET memory and performance profiler?

C#.NetProfilingProfiler

C# Problem Overview


We are using JetBrains' dotTrace. What other profiling tools can be recommended that are better for profiling C# Windows Forms applications?

C# Solutions


Solution 1 - C#

No. I have tried pretty much every .NET profiler on the market (ANTS, vTune, OptimizeIt, DevPartner, YourKit), and in my opinion dotTrace is the best of the lot. It is one of only two profilers I have used (the other being YourKit) that has low enough overhead to handle a highly CPU-intensive application.

If and only if your application is relatively light, I could recommend ANTS Profiler. Its line-by-line stats are sometimes quite useful, but they come at a price in profiling efficiency.

Solution 2 - C#

I have used the EQATEC Profiler. It is free and is a code profiler, not a memory profiler.

Solution 3 - C#

For memory profiling you have both the free CLR profiler and the commercial .NET memory profiler. Both are excellent but the latter is a bit more polished.

Solution 4 - C#

We've got on really well with AQTime. The great thing from our point of view is that it does the unmanaged parts of our code too.

Solution 5 - C#

It hasn't been mentioned yet, but for memory analysis Windbg is about as thorough and low-level as you can get. Using it in combination with sos.dll is incredibly powerful, but there is a fairly steep learning curve.

It's a free tool though, and Tess Ferrandez' blog is a great place to start with it. ANTS and other profilers are much more user-friendly, but Windbg can slice and dice the managed heap like none other in my opinion.

Solution 6 - C#

Ants Profiler just released version 4.
We use it, and are quite happy with it. There's a 14 day trial to evaluate (as is true for most offerings).

Solution 7 - C#

We use DotTrace like you, but in the past we used Ants Profiler by RedGate. It is a nice tool also.

Solution 8 - C#

I am very happy with RedGate ANTS. The only other one I tried was the one that comes with Visual Studio Team, and it sucks.

Solution 9 - C#

You should check out SpeedTrace. We are pleased with the software, and it helps us a lot in resolving the root causes of my problem.

Solution 10 - C#

nProf is a good tool if you're looking for something free. It's kind of finicky at points, and a little buggy, but if you're on a tight budget, it'll do the job.

Solution 11 - C#

I've been using the free SlimTune since its recent release. Although it has a minimal interface, it is super easy to use and provides good diagnostics which have already helped me a lot. It currently supports two kinds of displays, one of which is similar to nProf. It is from the same developer as SlimDX, so I expect the tool to become even better in the short term.

EDIT: As far as I know, it does not support memory profiling yet.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionleoraView Question on Stackoverflow
Solution 1 - C#McKenzieG1View Answer on Stackoverflow
Solution 2 - C#Peter MortensenView Answer on Stackoverflow
Solution 3 - C#On FreundView Answer on Stackoverflow
Solution 4 - C#Greg WhitfieldView Answer on Stackoverflow
Solution 5 - C#STWView Answer on Stackoverflow
Solution 6 - C#Bramha GhoshView Answer on Stackoverflow
Solution 7 - C#Dale RaganView Answer on Stackoverflow
Solution 8 - C#Jonathan AllenView Answer on Stackoverflow
Solution 9 - C#Tim MuellerView Answer on Stackoverflow
Solution 10 - C#KibbeeView Answer on Stackoverflow
Solution 11 - C#TrillianView Answer on Stackoverflow