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.

 
IISBAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.