我在格式化的电脑上运行Visual Studio 2013 Pro (RTM版本)(Windows 8.1新安装)。

我不知道为什么,但是Visual Studio 2013 Pro非常非常慢!在IDE中构建、调试、导航缓慢……我的硬盘驱动器的LED根本不亮!

我在一个小的MFC (c++)项目中使用Boost库。

什么好主意吗?


当前回答

我可以给出这样的建议。

CodeLens可以像图中那样被禁用。它提供了很多性能优点。

其他回答

如果您在呈现.cs文件和.cshtml文件时遇到很慢的情况,有一个很好的解决方案。

只需关闭所有打开的文件,以便缓存被清除,并再次打开所需的文件。

还有一件事要检查;对我来说是Fusion伐木。

我很久以前就把它打开了,但差不多忘记了。删除5000多个目录和1gb的日志文件效果很好。

Visual Studio 2013有一个正在运行的包服务器,它消耗了高达200万K的内存。

我把它设置为低优先级和只有一个CPU的亲和力,Visual Studio运行得更加流畅。

运行单元测试很慢。这是ReSharper的问题。

菜单ReSharper→Options→Environment→General…清除缓存 菜单工具→选项→ReSharper→General…现在暂停 关闭Visual Studio 删除。suo文件。 再次打开Visual Studio。 重新启用ReSharper。

它与图形驱动程序有关。如果你更新了它们,你就会没事的。

或者你可以在Visual Studio中按照以下步骤禁用硬件图形加速:

In Visual Studio, click "Tools", and then click "Options". In the Options dialog box, navigate to the "Environment > General" section and clear the "Automatically adjust visual experience based on client performance" check box. (Refer to the following screen shot for this step.) Clear the "Use hardware graphics acceleration if available" check box to prevent the use of hardware graphics acceleration. Select or clear the "Enable rich client visual experience" check box to make sure that rich visuals are always on or off, respectively. When this check box is selected, rich visuals are used independent of the computer environment. For example, rich visuals are used when you run Visual Studio locally on a rich client and over remote desktop.

引用:

在Visual Studio 2013中遇到性能问题、产品崩溃或渲染问题