Suggestions for Improving the Performance of Visual Studio
Install the Following Patches
Defragment Your Hard Drive
We have observed significant performance improvements for disk I/O intensive operations after defragmenting the hard drive. This is especially true on Windows XP, which does not have the SuperFetch feature that ships in Windows Vista and Windows 7.
Download the Latest Service Pack for your Operating System
If you are using Windows XP:
Disable Add-Ins and Extensions
(Tools|Options|Environment -> Add-in/Macros Security, and Extension Manager)
- If this works, check with the Add-In/Extension provider to see if they have an updated version. For example, ReSharper 5.1.1 has performance and memory consumption improvements.
- Decide if this improves performance, then experiment by selectively disabling add-ins to determine which one is affecting your performance.
- You can run Visual Studio without any add-ins by launching in safe mode (devenv /safemode).
If you are experiencing slow performance when loading a solution:
Try deleting the .suo file in your solution's folder. Note that the .suo file is a hidden file. You can find information on File Types and File Extensions in Visual Studio in the Library.
If you are experiencing UI performance problems (e.g., typing, scrolling):
| Description | VendorID | DeviceID |
| ATI Mobility Radeon HD 4650 | 0x1002 | 0x9480 |
| ATI Radeon HD 2400 Pro | 0x1002 | 0x94C1 |
| ATI Radeon HD 5800 Series | 0x1002 | x06899 |
| Intel G33/G31 Express Chipset Family | 0x8086 | 0x29C2 |
| Intel Graphics Media Accelerator HD | 0x8086 | 0x0042 |
| Mobile Intel 4 Series Express Chipset Family | 0x8086 | 0x2A42 |
| Mobile Intel 945GM Express Chipset Family | 0x8086 | 0x27A2 |
| Mobile Intel 965 Express Chipset Family | 0x8086 | 0x2A02 |
| NVIDIA GeForce 8400 GS | 0x10DE | 0x06E4 |
| NVIDIA Quadro FX 580 | 0x10DE | 0x0659 |
| NVIDIA Quadro NVS 290 | 0x10DE | 0x042F |
| NVIDIA GeForce 6200 | 0x10DE | 0x0221 |
If you are running inside a VM or on Windows Server 2008 with Hyper-V enabled:
- Disable Graphics Hardware Rendering
- Make sure you have at least 1.5GB allocated to the Virtual Machine.
- Make sure you have hardware virtualization support on at the BIOS level. This is required for Hyper-V, it may not be available on older hardware.
If you are experiencing slow builds:
- Decrease the build output verbosity by selecting either Quiet, Minimal or Normal (in increasing order of volume/output).
.png)
- Minimize the number of projects in the solution.
- Remove redundant references from projects.
- Do not build setup/deploy projects in the debug configuration.
Use a 64-bit Operating System and 4GB of Physical Memory
Double the virtual memory available to Visual Studio from 2GB to 4GB. By using 4GB of physical memory, you will reduce the amount of paging to/from disk.