Build after Clean is VERY VERY slow

  • Thread starter Thread starter Rob R. Ainscough
  • Start date Start date
R

Rob R. Ainscough

I have a moderately sized web application (30 pages, and 20 DLLs) that takes
10-20 minutes to "Build Solution" after I do a "Clean Solution" -- this is
ONLY apparent after a "Clean Solution"

I have a reasonably power workstation (3.06Ghz dual Zeon with 4GB RAM and
10K RPM hard drives) -- this problem ONLY occurs immediately after I do a
Clean Solution and then "Build Solution" -- if I just run Build Solutions
(one after another) it only takes <1 minute.

Anyone else having this problem? Any solutions?
 
Hello Rob,

It's because *all* your sources need to be recompiling and in case of just
build (without cleaning) only changed sources are recompiling

RA> I have a moderately sized web application (30 pages, and 20 DLLs)
RA> that takes 10-20 minutes to "Build Solution" after I do a "Clean
RA> Solution" -- this is ONLY apparent after a "Clean Solution"
RA>
RA> I have a reasonably power workstation (3.06Ghz dual Zeon with 4GB
RA> RAM and 10K RPM hard drives) -- this problem ONLY occurs immediately
RA> after I do a Clean Solution and then "Build Solution" -- if I just
RA> run Build Solutions (one after another) it only takes <1 minute.
RA>
RA> Anyone else having this problem? Any solutions?
RA>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 
Michael,

I understand that ALL my sources need to be built - but if I added up how
long it takes for each source one a time (after a clean) it takes about 5
minutes (mostly due to time it takes to load each source) -- the solution
build is at 65 minutes now and still going (I think since there is NO
indication what VS 2005 is currently doing) -- about to End Task as this is
just ridiculous.

Rob.
 
Hello Rob,

How much files are used and how much space are available?
It could seem strange but defragmented hdd could hinder the performace.

another option is to check if any antivirus apps are turned, coz they also
could hinder performance it this case

btw, there in no direct connection from VS to the speed of building, I rekon
that external stuff obstacles to normal building speed

RA> I understand that ALL my sources need to be built - but if I added
RA> up how long it takes for each source one a time (after a clean) it
RA> takes about 5 minutes (mostly due to time it takes to load each
RA> source) -- the solution build is at 65 minutes now and still going
RA> (I think since there is NO indication what VS 2005 is currently
RA> doing) -- about to End Task as this is just ridiculous.
RA>
RA> Rob.
RA>
RA> RA>---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 
Found a tid bit on the performance problem:

In configuration manager, I switched to "AnyCPU" from "Mixed Platform" which
builds all the DLLs but not the .NET platform startup project (web app) --
this resolved the issues. Since I do a final command line precompile before
I deploy the web app, this works fine for me. Of course MSDN documentation
is extremely lacking on what the exact options mean, if someone can find any
Microsoft documentation the describes exactl what "AnyCPU", "Mixed
Platform", ".NET" configurations really mean, I'd be most greatful.

However, the IDE itself is still a complete dog -- selecting more than 10
controls on a web form and trying to move them around and position them with
a mouse is guess work at best as the redraw delay is horrible (it's worse
than doing an RDP to a server in China).

Rob
 
Back
Top