Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / October 2003

Tip: Looking for answers? Try searching our database.

VC7.1 vs. VC6 C Compile time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ys - 30 Oct 2003 00:23 GMT
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
???? - 30 Oct 2003 05:14 GMT
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
Ys - 30 Oct 2003 06:26 GMT
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.

>-----Original Message-----
>the compile time the compiler take denpends on the available memory in u r
[quoted text clipped - 4 lines]
>
>.
Ronald Laeremans [MSFT] - 30 Oct 2003 13:54 GMT
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 r_o_n_a_l_d_l@microsoft.com without the underscores.

Ronald Laeremans
Visual C++ team

> Thanks for the response.
> I have 1 gig memoy on my mchine. So 100M should not be a
[quoted text clipped - 21 lines]
> >
> >.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.