I liked the function list because I could see which functions were using the most CPU overall, but instrumentation is slow. Is there any way I can get that feature in the new diagnostic tools, or at least export a report so I can analyze it as needed? My program runs extremely slowly during instrumentation (though it didn't always do that; I'm not sure what changed), and it would be nice to be able to collect the data using diagnostic tools, even if I can't view it there.

1

There are 1 best solutions below

2
On

Firstly, the "old" diagnostics tools are still in VS 2015. To run it select Debug -> Start Diagnostic Tools Without Debugging and then check Performance Wizard. Or select Debug -> Profiler -> Performance Explorer -> New Performance Session.

Besides, the "old" diagnostics tools do not have to be slow. You are right that in general the instrumentation is slow but you can also use the sampling. You can do so on the first page of Performance Wizard. It is even a default option.

As to the "new" diagnostics tools. I assume that you are talking about CPU Usage. You also have the "function list" there. See the below image (downloaded from already mentioned article CPU Usage).

enter image description here