Visual Studio 启动加速

Visual Studio 2012 running slow

Three months in and my Visual Studio 2012 is running slow, I'll even go as far as saying it is freezing up some times, so I loaded up SysInternals Process Monitor and set a filter on Visual Studio and to my complete and utter amazement I found PerfWatson running wild in the system

Visual Studio 启动加速

PerfWatson is designed to drive performance improvements and make Visual Studio faster by automatically reporting back to Microsoft, this sounds great but it is just running crazy on my machine and I need to take it off.

To take it off you need to be in Visual Studio 2012, if you can get it loaded, then go to the Tools/Extensions and Updates sections and you'll find Visual Studio PerfWatson installed, just uninstall and it will be gone.

Visual Studio 启动加速

Another area to clear out is the WebSiteCache, which Kevin Rintoul wrote about on his blog Slow Visual Studio Performance … Solved!, which can be found at:

C:\Users\jQuery152010256510121984808_1361448287186jQuery152010612401940409233_1361449184152jQuery15207433351762976833_1361449212578??\AppData\Local\Microsoft\WebsiteCache

If you are using TFS with Visual Studio then another great tip from Nick on his blog post How to fix slow Visual Studio + TFS,

Edit the Visual Studio config file found in C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe.config
and locate the following line:

1
<system.net>

Right below (above settings, NOT under), insert the following line of code:

1
<defaultProxy enabled="false" />

Your visual studio should now be more responsive!

Anyone else got any tips to increase the performance of Visual Studio 2012 are most welcome.

上一篇:Linux常用命令——文本编辑器Vim


下一篇:为什么要用 redis 而不用 map 做缓存?