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

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

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

什么好主意吗?


当前回答

我可以给出这样的建议。

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

其他回答

对于web应用程序,另一个导致构建和调试缓慢的原因(不是IDE导航)可能是浏览器链接功能。

我发现,打开这个功能后,构建需要4倍的时间,调试也很痛苦——每次回发之后,网页会冻结几秒钟,然后你才能与它们交互。

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

或者你可以在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中遇到性能问题、产品崩溃或渲染问题

性能探险家

你是否一直在使用分析→性能和诊断菜单?我有!这是太棒了!但你可能需要清理一下。

打开性能资源管理器。如果您折叠其中的所有项目,选择全部,然后您可以右键单击并执行删除。

我的解决方案打开速度更快,现在运行速度也快得多。

您可能还会注意到sln文件的更改,如下所示。对我来说,这个部分已经从sln中删除了。

GlobalSection(Performance) = preSolution
    HasPerformanceSessions = true
EndGlobalSection

如果您正在调试ASP。. NET网站使用ie10(或更高版本),确保关闭您的ie 'LastPass'密码管理器插件。LastPass将使您的调试会话爬行和显著降低您的耐心的能力!

我向Lastpass提交了一份支持票,他们承认了这个问题,没有任何修复的打算,只是说:“Lastpass与Visual Studio 2013不兼容”。

我也有一个缓慢的IDE的问题。

在我的情况下,我安装

ReSharper Npgsql(导致问题的可能性很小) 实体框架电力工具Beta 4

以下几点对我有一点帮助:

禁用同步-菜单“工具→选项→环境同步设置” 禁用插件选择-菜单工具→工作室→选项→源代码控制。 禁用实体框架电力工具Beta 4 -菜单工具→扩展和更新

卸载JetBrain的Resharper -哇!!我又快了!!