大网数据广告活动
Web服务器与PHP

Performance issues in Visual Studio

· 52CE 我爱测

This article discusses intermittent performance issue, product crashes, or rendering issues in Visual Studio 2013 if you use hardware acceleration or the default.

This article provides workarounds for intermittent performance issue, product crashes, or rendering issues in Microsoft Visual Studio 2013.

Original product version:   Visual Studio 2013, 2015, 2017
Original KB number:   2894215

Symptoms

If you have hardware acceleration enabled, or if you use the default visual experience settings in Visual Studio 2017, Visual Studio 2015 and Visual Studio 2013, you may experience intermittent performance issues, product crashes, or rendering issues.

Cause

These issues may occur because of bugs in the installed graphics driver.

Note: The Visual Studio team has continued to notice a small but important series of performance and reliability issues that are caused by bugs in the installed graphics drivers. By default, Visual Studio automatically adjusts the visual experience in order to maximize performance and responsiveness across client configurations. Visual Studio also uses hardware graphics acceleration when it is available on the client. For most customers, these Visual Studio default settings provide the best user experience. However, some users have reported that manual adjustments to these settings can result in improved experience. This article describes how to make these adjustments in Visual Studio.

Workarounds

To work around these issues, use one of the following methods:

  • Install the latest graphics drivers.

    [!NOTE] Outdated drivers are a common source of Windows Presentation Foundation (WPF) rendering issues.

  • Turn off hardware graphics acceleration to switch to software rendering. To do this, follow these steps:

    1. In Visual Studio, click Tools > Options.

    2. In the Options dialog box, clear the Automatically adjust visual experience based on client performance check box. (Refer to the following screenshot for this step.)

      :::image type="content" source="media/performance-crash-issue/automatically-adjust-visual-experience-based-on-client-performance.png" alt-text="Screenshot of the Options window showing the Automatically adjust visual experience based on client performance checkbox is cleared.":::

    3. Clear the Use hardware graphics acceleration if available check box to prevent the use of hardware graphics acceleration.

    4. 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.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 04/13/2020
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。