Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding Performance Spikes on Visual Studio

Is it somehow possible to measure the CPU and/or IO requirements for all installed Visual Studio Addins / Extensions (VS 2012 / 2013)?

Concrete Problem: I have quite a lot of Extensions and Addins for Visual Studio 2013 installed and in general it runs smooth, just sometimes i experience ~5-10 sec spikes where VS just freezes. (Without any Addins or Extensions it doesn't happen). Any idea how to find the problem?

like image 894
GregorB Avatar asked Feb 24 '26 10:02

GregorB


1 Answers

If it reproduces often enough, you can just attach a debugger to Visual Studio and break in when something is going bad. Conveniently, Visual Studio is a debugger, so if you launch two instances in and in one go Debug > Attach to process, you can just attach to the other. When you hit the issue, break in (quickly) in the other and look at the main thread (it's labled in the threads window.) Look at the stack to see if there are any obvious offenders...

like image 106
Jason Malinowski Avatar answered Feb 27 '26 01:02

Jason Malinowski