473,396 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

VC++ 2003 compile time slower than VC++ 6.0

i experience slower compile times with VC++ 2003 compared to VC+6.0.
Anyone experiencing the same?
Should that be expected?
This ineed matters, when total compilation time is > 1h and you have to wait
10-50% longer...

Nov 17 '05 #1
5 1425
Michael wrote:
i experience slower compile times with VC++ 2003 compared to VC+6.0.
Anyone experiencing the same?
Should that be expected?
This ineed matters, when total compilation time is > 1h and you have to wait
10-50% longer...


I think the idea is that you are likely to have a build computer up to
5X as fast as that which was available when VC6 was first released (in
1998) so a 50% increase in compile times shouldn't affect you too much.
The improvements in the VC7.1 compiler (in terms of conformance,
optimization, possibly flexibility and maintainability, etc.) probably
account for the slower compiles.

Some switches obviously increase compile times (for example, whole
program optimization).

Tom
Nov 17 '05 #2
>> i experience slower compile times with VC++ 2003 compared to VC+6.0.
Anyone experiencing the same?

Could you give an example you are seeing this. Sometimes, there might be
some features or switches you are using which cause the slowdown.
Mostly they have workarounds too.
Thanks,
Kapil

"Tom Widmer" <to********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl... Michael wrote:
i experience slower compile times with VC++ 2003 compared to VC+6.0.
Anyone experiencing the same?
Should that be expected?
This ineed matters, when total compilation time is > 1h and you have to
wait 10-50% longer...


I think the idea is that you are likely to have a build computer up to 5X
as fast as that which was available when VC6 was first released (in 1998)
so a 50% increase in compile times shouldn't affect you too much. The
improvements in the VC7.1 compiler (in terms of conformance, optimization,
possibly flexibility and maintainability, etc.) probably account for the
slower compiles.

Some switches obviously increase compile times (for example, whole program
optimization).

Tom

Nov 17 '05 #3
Of course the build computers (> 10 infact) are much faster, but
unfortunately the software grew faster...
We do not use whole program optimization.
As we still have projects using VC++6 the slower compile times catch
attention easily.
I wonder if VC++2005 get better or worse (even more conformance and
optimizations)

"Tom Widmer" wrote:
Michael wrote:
i experience slower compile times with VC++ 2003 compared to VC+6.0.
Anyone experiencing the same?
Should that be expected?
This ineed matters, when total compilation time is > 1h and you have to wait
10-50% longer...


I think the idea is that you are likely to have a build computer up to
5X as fast as that which was available when VC6 was first released (in
1998) so a 50% increase in compile times shouldn't affect you too much.
The improvements in the VC7.1 compiler (in terms of conformance,
optimization, possibly flexibility and maintainability, etc.) probably
account for the slower compiles.

Some switches obviously increase compile times (for example, whole
program optimization).

Tom

Nov 17 '05 #4
For example (C code) i measured (with P4 1,5Ghz, 1GB) 16% longer compile time
for Active Perl v5.8.6 Build 811 with 2003 as with 6.0. (makefile unmodified)

ACE (Adaptive Communication Environment which consists of many C++
templates) was even 50% slower. With a custom (proprietary) makefile compiler
switches are the same for 6.0 and 2003 :
-nologo -MD -O2 -Z7 -GR -GX -G5 -X -GF -EHa -Od -Og -Os -Oy -Ob1 -Gs -Gy -c
-W4
"Kapil Khosla [MSFT]" wrote:
i experience slower compile times with VC++ 2003 compared to VC+6.0.
Anyone experiencing the same?


Could you give an example you are seeing this. Sometimes, there might be
some features or switches you are using which cause the slowdown.
Mostly they have workarounds too.
Thanks,
Kapil

"Tom Widmer" <to********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Michael wrote:
i experience slower compile times with VC++ 2003 compared to VC+6.0.
Anyone experiencing the same?
Should that be expected?
This ineed matters, when total compilation time is > 1h and you have to
wait 10-50% longer...


I think the idea is that you are likely to have a build computer up to 5X
as fast as that which was available when VC6 was first released (in 1998)
so a 50% increase in compile times shouldn't affect you too much. The
improvements in the VC7.1 compiler (in terms of conformance, optimization,
possibly flexibility and maintainability, etc.) probably account for the
slower compiles.

Some switches obviously increase compile times (for example, whole program
optimization).

Tom


Nov 17 '05 #5
Michael wrote:
Of course the build computers (> 10 infact) are much faster, but
unfortunately the software grew faster...
We do not use whole program optimization.
As we still have projects using VC++6 the slower compile times catch
attention easily.
I wonder if VC++2005 get better or worse (even more conformance and
optimizations)


I haven't timed it, but my seat-of-the-pants estimate is "about the same".

-cd
Nov 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Gustavo L. Fabro | last post by:
Greetings! Getting straight to the point, here are the results of my experiment. I've included my comments and questions after them. The timing: (The total time means the sum of each line's...
17
by: PDQBach | last post by:
Hello, im a visual c++ und borland c++builder newbie. i have witten a simple mandelbrot algorithm and compiled it with both vc++ (mfc) and cbuilder (vcl) (same code besides the drawing part)....
1
by: Markus Neff | last post by:
Dear MS VS .NET 2003 users, so far I used MS VS 6.0 SP5 for a rather large C++ project. Now I want to migrate to MS VS .NET 2003. First tests however showed that compilation and most notably...
9
by: borhan | last post by:
Hi folks, I am using vs.net 2003 for a time, however since last week I was using MFC. Now, I am into managed C++ and windows forms. I can say that I am very much confused with it, and I have...
4
by: Corgan | last post by:
I compiled the same code as release version in VC++ 7.0 and it runs about 4X slower. My program is doing a mathematical search where time is important... am I forced to stick with the older version...
2
by: Qiao Yun | last post by:
I used vc++.net (visual studio .net ) to open a project which can work well in vc++6.0. I succeeded in compiling the project in vc++.net in release mode . But when I tried to compile the project...
6
by: Joachim | last post by:
I have the following simple program: #include <iostream> #include <map> #include <string> #include <sstream> #include <fstream> #include <vector> using namespace std;
36
by: Alex Martelli | last post by:
So, I thought I'd tool up to let me build and test Python extensions on Windows (as well as Mac and Linux) -- I'm trying out Parallels Workstation beta on my new Macbook Pro (and so far it seems to...
14
by: John | last post by:
My friend told me that his company will migrate the VC++ win32 applications to C++ .NET windows applications. I don't understand why since currently Microsoft only supports .NET on windows...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.