Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2013 permanent CPU usage even though in idle mode

I've recently updated VS2013 to Update 1 and since then VS takes CPU usage to 25% (on a 4 cores intel i5 cpu) permanently even though it's supposed to be idle. I thought it has some unfinished background processes so I left it running for a while but it keeps using the cpu when it's supposed to be idle.

Are you getting a similar behaviour after updating?

Edit 1: I'm using git and python tools for vs, so there might be some conflicts after Update 1.

Edit 2: The git integration in VS2013 is buggy. I ran a profiler on devenv.exe and git2-msvstfs.dll takes most of cpu usage although it should be idle. I sent a failure notice to MS. If you have the same problem please vote for this: http://connect.microsoft.com/VisualStudio/feedback/details/844616/vs2013-update-1-cpu-usage-not-normal

enter image description here

Edit 3: Update 2 has been recently released. This bug was fixed in VS2013 Update 2.

Edit 4: Updates 3 & 4 were released and CPU usage goes crazy due to multiple causes (not only git dll module). Disabling Browser Link as in one of the below answers seems to fix the problem.

like image 808
remus Avatar asked Apr 01 '14 11:04

remus


2 Answers

For me (VS 2013 update 4) the solution was to disable Browser Link as specified here:

https://www.devexpress.com/Support/Center/Question/Details/T102322

enter image description here

The CPU slowed down right away from 25 % to 1 %.

like image 162
zukanta Avatar answered Oct 19 '22 18:10

zukanta


Edit 2: Possible bug regression in Updates 3 & 4.

Edit 1: The bug was fixed in VS2013 Update 2.

One can disable git plug-in from Visual Studio 2013 in this way:

Tools->Options

Source Control: set Current source control plug-in to None

Use other git clients to manage your repositories.

like image 48
remus Avatar answered Oct 19 '22 17:10

remus