Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Tips and Suggestions to Improve Performance of Visual Studio 2010


View products that this article applies to.

Summary

This article summarizes the techniques for improving the performance of Visual Studio 2010.

↑ Back to the top


More Information

1.      Install these patches

2.      Defragment your hard disk. 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.

3.      Make sure you’re running the latest service pack for your operating system.

4.      If you are using Windows XP

a. We have seen issues when video hardware acceleration is enabled. Disabling the same, improves the performance. So, try disabling the graphics hardware rendering as described in this blog post
b. Install the Windows Automation API 3.0as described in this blog post

5.      Try disabling Add-Ins and Extensions (Tools|Options|Environment -> Add-in/Macros Security, and Extension manager). If this works, please 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”). You can also disable the add-ins by launching Visual Studio in safe mode. To do the same, Run below command from Visual Studio Command Prompt:

devenv /safemode
Decide if this improves performance then experiment by selectively disabling add-ins to determine which one is affecting your performance.
6.      If you are experiencing slow performance when loading a solution

a. Try deleting the .suo file in your solution’s folder. Note that the .suo file is a hidden file.

b. If your solution contains any WinForms projects
i. Close the Windows Forms Designer before you close the solution (or Visual Studio)
ii. Disable Toolbox automatic populatin using "Tools | Options | Windows Forms Designer"

7.      For User Interface performance problems (typing, scrolling, screen refreshes) try disabling graphics hardware rendering as described in this blog post. Visual Studio 2010 users have reported that they experience better performance using software rendering on the following hardware

DescriptionVendorIDDeviceID
ATI Mobility Radeon HD 46500x10020x9480
ATI Radeon HD 2400 Pro0x10020x94C1
ATI Radeon HD 5800 Series0x10020x6899
Intel® G33/G31 Express Chipset Family0x80860x29C2
Intel® Graphics Media Accelerator HD0x80860x0042
Mobile Intel® 4 Series Express Chipset Family0x80860x2A42
Mobile Intel® 945GM Express Chipset Family0x80860x27A2
Mobile Intel® 965 Express Chipset Family0x80860x2A02
NVIDIA GeForce 8400 GS0x10DE0x06E4
NVIDIA Quadro FX 5800x10DE0x0659
NVIDIA Quadro NVS 2900x10DE0x042F
NVIDIA GeForce 62000x10DE0x0221
8.      If you're running inside a Virtual Machine or on Windows Server 2008 with Hyper-V enabled:

a. Try disabling graphics hardware acceleration as described in this blog post
b. Make sure you have at least 1.5 GB RAM allocated to the Virtual Machine.
c. Make sure you have hardware virtualization support on at the BIOS level (required for Hyper-V, may not be available on older hardware).

9.      If you’re experiencing slow builds

a. Decrease the build output verbosity


b. Minimize the number of projects in the solution
c. Remove redundant references from projects
d. Do not build setup/deploy projects in the debug configuration
10.  Use a 64-bit operating system and 4 GB of physical memory. By using a 64-bit operating system you double the virtual memory available to Visual Studio from 2 GB to 4 GB. By using 4 GB of physical memory you will reduce the amount of paging to/from disk.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2516297
Revision : 1
Created on : 1/7/2017
Published on : 3/2/2011
Exists online : False
Views : 512