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... 5 1454
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
>> 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********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.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
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
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********@hot mail.com> wrote in message news:%2******** ********@TK2MSF TNGP12.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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 drawing time.
Time is measured in clock ticks (from QueryPerformanceCounter() API).
The processor resolution (QueryPerformanceFrequency()) for my
|
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).
the vc++ version is twice! as fast in release mode. in debug mode its
as fast as cbuilder. it seems i cant get cbuilder to compile a real
release version. when i check "Project options:compiler:release" it
even gets slower than debug! i have played...
|
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 linking is significantly slower with the
new software. Linking a release build took about 15 seconds with 6.0
and now takes about 60+ seconds (already using /OPT:NOREF /OPT:NOICF).
For debug versions, it took about 3-4 minutes with 6.0 compared to 10...
|
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 some
questions I hope I can find some answers here...
1. First of all, I got the answer to this question but I have to
point that out! What kind of c++ programming is that to write all the
|
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 of the compiler?
| |
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 in debug mode, the following errors
happened:
d:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29):
error C2365: 'new' : redefinition; previous definition was a 'member
function'
d:\Program Files\Microsoft Visual Studio...
|
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;
|
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 work very
well), I bought and installed a Win2000 Pro on it (since according to
the grapevine it works better than XP in various kinds of virtual
machines, and almost all SW supports w2k anyway -- I also found out that
one exception is the...
|
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 platforms. If Win32
applications
and .NET application both will run on windows only, what's the
advantages
for the migration? Or maybe this type of migration is not common in
practice?
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |