VC7.1 vs. VC6 C Compile time

Y

Ys

Hello,

I have just migrated my project from VC6 to VC7.1. The
project is mostly written in C, and some in C++ without
MFC (Console application). I am on Win2k.
I am not using managed code in VC7.1.

I am experiencing VC7.1 C compile time taking about 4
times of VC6, though interestingly C++ stays within +10%
margin. This is the same for debug, so it is not
optimization.

Has anyone seen C compiler slowness?

I hope this is not known fact.
Any information and/or tips are appreciated.

If I am in wrong newsgroup, please direct me to the one
which may help.

Thanks in advance,

Ys
 
Μ

µ¾¼§

the compile time the compiler take denpends on the available memory in u r
machine,well the vs.net' MDE enviroment takes so much (about 100Ms),which
deeply slow down the process:)
u can speed up the compile time by do it without the MDE-----use the
commandline mode
 
Y

Ys

Thanks for the response.
I have 1 gig memoy on my mchine. So 100M should not be a
major issue. I will give it a try running cl.exe from
command line. Hope that speed things up.
But I am masuring the time by the first .obj generated to
the last, I guess IDE or dependeny checking is out of
scope.

Any other thoughts on this?
I appreciate any input, includng even "I am not seeing
this phenominon".

Thanks bunch.
 
R

Ronald Laeremans [MSFT]

On aggregate we tend to be about 20% or so slower due to the increased
conformance work in the compiler which has effects on some of the critical
paths. 3x is definitely a real outlier and we would be interested to see
what is happening if you have a sensible size example to repro it (and are
willing to share the code with us for us to investigate). In that case shoot
me a mail at (e-mail address removed) without the underscores.

Ronald Laeremans
Visual C++ team
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top