Re: Why is VS2005 command line builds SUPER SLOW?



The only thing I can determine here is that when compiling on my XP box, the compiler is spawning VCBuildHelper.exe which spawns CL.EXE and this is taking only 50% of the CPU, where on my 2000/PRO box, it is 95% of the CPU, so its working faster.

IOW, it is purposely crippled to only work 1/2 as fast on my XP/BOX.
I don't know if that applicable.

The XP/PRO box with all updated service packs:

Intel Pentium(R) 2.67 Ghz with 1GB RAM

I see these in the enviroment:

PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0407
NUMBER_OF_PROCESSORS=2

and VS2005 was updated with all its service pack.

I hope someone can shed some light into this.

--

Tommy wrote:
Hi,

For the most part I am new to using VS2005 after many years of using VC6 (VS98) for my product line.

I thought the new IDE was slow but mostly because that is has much more neat stuff and I figured, "it is what it is, more bloat, more IDE slowness, but no real problem since real builds are command line driven"

Now that I have prepared my command line build batch files, etc, I finding it incredibly slow. Its taking for ever. I mean a single project build that took 25 seconds under VC6, is now taking 145 seconds!! Awful!

I thought,

"ok, maybe this is network related! lets try a local copy
of the project"

I have all my source on a network drive. So I copied a few projects over to the local drive and there were hardly any improvements whatsoever.

What gives?

Is this normal? I mean, I can live with a slower IDE for development, but when it comes to full command line builds, I don't expect a 580% slowdown! For my product, it normally takes around 40 minutes for a complete rebuild of over 255+ projects. This will mean over 230 minutes under a complete VS2005 (VC8) build.

Anything I can do?

I looked at the multiple compile feature, and thats appears to yield an overall total time improvement, but it is still super slow.

Any info would be greatly appreciated.

Thanks

--
.



Relevant Pages

  • Re: C IDE Recommendations
    ... Is that "hijacking" a thread??? ... IDEs and use the command line instead??? ... > C IDE Recommendations // Subject line!! ... this is why I didn't really want an argument about command-line compiling versus IDE compiling. ...
    (comp.lang.c)
  • Re: Cannot access class
    ... >> What IDE are you using? ... >> from the command line? ... > I am editing and compiling my program using Editplus 2.11 ... Notepad and DOS. ...
    (comp.lang.java.help)
  • Why is VS2005 command line builds SUPER SLOW?
    ... For the most part I am new to using VS2005 after many years of using VC6 for my product line. ... I thought the new IDE was slow but mostly because that is has much more neat stuff and I figured, "it is what it is, more bloat, more IDE slowness, but no real problem since real builds are command line driven" ... Now that I have prepared my command line build batch files, etc, I finding it incredibly slow. ... I looked at the multiple compile feature, and thats appears to yield an overall total time improvement, but it is still super slow. ...
    (microsoft.public.vstudio.development)
  • Re: Compiled ocx file reports different sizes
    ... Take a look at the command line you are seeing in the IDE Project>Settings. ... You could also try compiling in "verbose" mode from the IDE; ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)
  • RE: Strange Problem with Terminate Process
    ... close a window with partial title from command line, ... when compiled in IDE or command line. ... I don't think the compiling on command line or in IDE would have ...
    (microsoft.public.vb.general.discussion)