c# – Find slow point in .NET code

Question:

I need to analyze a code that is taking a long time to execute, the method code is extensive and makes several calls to other methods, I've been debugging to try to identify the slow point, but it's very difficult.

Does Visual Studio have any tools that help me with this, to find this slow point?

Answer:

You need a profiler . It's the only tool you can do it right.

Visual Studio has something yes. There is official documentation with lots of details about this .

Other tools available:

Scroll to Top