• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

VS 2008 performance on external drives

I read an article which explains that you would get better performance by using an external hard drives to store your visual studio projects && The compile times are faster and increase your host computer performance too.

I have a fast computer but the compile times are longer and would like to get any ideas to improve the performance / reduce compile times. (FYI our solutions contains 50-60 projects)

Any comments is appreciated.

 
0
IISB
Asked:
IISB
2 Solutions
 
Miguel OzSoftware EngineerCommented:
I will check if your antivirus program is interfering with your compilation timing. Put your solution folder on the exclusion antivirus  feature and compare.
0
 
gokujamesCommented:
some of the steps i follow for performance optimizations are listed below:
Do not disable batch compilation
Make sure web.config does not have <compilation batch="false" />
The default is “true” so unless it’s explicitly set to “false” you’re ok.

Change Build options for the web site project:  (Property pages <shift>F4 -> Build)
    “Start Action (F5)” should be either "build page" or "no build".  -  Improves F5 performance
    “Build Solution Action” uncheck “Build Web as part of solution.”  -  Makes <ctrl><shift>b very fast

Personally, the biggest performance increase in compiling I found was to change the projects target platform from "Any CPU" or "Mixed Platforms" to "x86".
0
 
Kelvin McDanielSr. Developer/ConsultantCommented:
You may also want to consider only re-compiling those projects that need to be recompiled.

If you made changes to only one project, simply "Rebuild" that one; assuming that you used "Project" references (and did not simply point to the .dll of another Project) it will know which dependencies need to be included in the process.
0
 
Ryan McCauleyData and Analytics ManagerCommented:
An internal drive will almost always be busier than an external drive - compared to IDE or SATA, USB is relatively slow - however, if there's a lot running on your main drive and the drive you're using for projects also is your Windows drive and has your other programs on it, that can slow it down significantly.

In cases where your main drive is usually busy, an external drive might help out, but you'd be better served by adding a second internal drive to your computer. Really fast drives are pretty cheap these days (like a Western Digital Black, or even a 32GB SSD drive), and adding one to move your data to can make a huge difference.

While the other solutions will help by keeping visual studio settings at their most efficient (a 60 project solution can take a while to compile in any case), additional hardware can make a huge difference too. I'm not sure if you're using Windows Vista or 7, but if you are, adding an ultra-fast USB drive and enabling ReadyBoost can make a huge difference as well - while it may not speed up compiling in particular, it will improve the performance of most every application on your computer, and it will get other applications out of the way so that the Visual Studio compiler can do what it needs to do. A high-speed 16GB flash drive costs around $20, and it's well worth it.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now