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

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

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

什么好主意吗?


当前回答

我可以给出这样的建议。

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

其他回答

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

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

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

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

如果你正在使用Microsoft Git提供程序,尝试将当前源代码控制插件设置为None(菜单工具→选项→源代码控制),这似乎会使Visual Studio 2013的存储库变得越来越大。

我使用Microsoft Git提供程序对整个Dojo Toolkit框架进行源代码控制,从我按下一个键到符号出现在屏幕上的时间出现了延迟。那么糟糕。

当/如果你再次需要Git,你可以切换到TortoiseGit提供商或Git- extensions,两者都不会减速。我个人喜欢Git-Extensions。

我在Visual Studio 2013(高级版)中也遇到过一些糟糕的表现。和TS遇到的问题差不多。缓慢的导航、滚动、构建……几乎所有的事情。幸运的是,我通过禁用Visual Studio中的同步设置来解决自己的问题。 进入菜单“工具→选项→环境同步设置”,取消选中复选框,删除该选项。

在Visual Studio 2015社区版中,我在工具→选项菜单上更改“环境字体”后,IDE的运行速度非常慢……→字体和颜色。

将该选项恢复为默认值("automatic")立即解决了该问题。