473,898 Members | 3,853 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Slow link times

Why is "Visual Studio .net 2003 7.1 c++" so much slower than VS6 at linking?

It looks like "Visual Studio .net 2003 7.1 c++" doesn't even do incremental
linking! I make one very minor change in a .cpp from one of my thirty
projects and the whole thing links! (I turned on verbose linking to verify
this.)

Is there something else I need to do to turn on incremental linking?

Rudy
Nov 17 '05 #1
22 3776

Oh, and I did turn on incremental linking: Project Settings | Linker |
General | Enable Incremental Linking (Yes)

"Rudy Ray Moore" <ru*******@hotm ail.com> wrote in message
news:uh******** ******@TK2MSFTN GP12.phx.gbl...
Why is "Visual Studio .net 2003 7.1 c++" so much slower than VS6 at linking?
It looks like "Visual Studio .net 2003 7.1 c++" doesn't even do incremental linking! I make one very minor change in a .cpp from one of my thirty
projects and the whole thing links! (I turned on verbose linking to verify this.)

Is there something else I need to do to turn on incremental linking?

Rudy

Nov 17 '05 #2
Hi Rudy,

Does this project contain any managed code (i.e. code compiled with the CLR
switch)? Incremental linking does not work for managed or mixed images. And
in addition linking them is significantly slower. We are hoping to address
both issues longer term.

If it is a fully native image, we would be interested in taking a look at
why incremental linking doesn't work. Let me know so I can have someone
contact you in that case.

Thanks

Ronald Laeremans
Visual C++ team

"Rudy Ray Moore" <ru*******@hotm ail.com> wrote in message
news:e1******** ******@TK2MSFTN GP12.phx.gbl...

Oh, and I did turn on incremental linking: Project Settings | Linker |
General | Enable Incremental Linking (Yes)

"Rudy Ray Moore" <ru*******@hotm ail.com> wrote in message
news:uh******** ******@TK2MSFTN GP12.phx.gbl...
Why is "Visual Studio .net 2003 7.1 c++" so much slower than VS6 at

linking?

It looks like "Visual Studio .net 2003 7.1 c++" doesn't even do

incremental
linking! I make one very minor change in a .cpp from one of my thirty
projects and the whole thing links! (I turned on verbose linking to

verify
this.)

Is there something else I need to do to turn on incremental linking?

Rudy


Nov 17 '05 #3
Ronald,

I appreciate your interest. We are not using any managed code (it's all
native). I have compiled some statistics and provided some outputs for you
to look at if you are interested. Compile/links are 50-600% slower with 7.1
for regular and incremental builds respectively.

http://www.stankevitz.com/visualstudio/

Rudy (my real email address appears at the bottom of that page)

"Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
Hi Rudy,

Does this project contain any managed code (i.e. code compiled with the CLR switch)? Incremental linking does not work for managed or mixed images. And in addition linking them is significantly slower. We are hoping to address
both issues longer term.

If it is a fully native image, we would be interested in taking a look at
why incremental linking doesn't work. Let me know so I can have someone
contact you in that case.

Thanks

Ronald Laeremans
Visual C++ team

"Rudy Ray Moore" <ru*******@hotm ail.com> wrote in message
news:e1******** ******@TK2MSFTN GP12.phx.gbl...

Oh, and I did turn on incremental linking: Project Settings | Linker |
General | Enable Incremental Linking (Yes)

"Rudy Ray Moore" <ru*******@hotm ail.com> wrote in message
news:uh******** ******@TK2MSFTN GP12.phx.gbl...
Why is "Visual Studio .net 2003 7.1 c++" so much slower than VS6 at

linking?

It looks like "Visual Studio .net 2003 7.1 c++" doesn't even do

incremental
linking! I make one very minor change in a .cpp from one of my thirty
projects and the whole thing links! (I turned on verbose linking to

verify
this.)

Is there something else I need to do to turn on incremental linking?

Rudy



Nov 17 '05 #4

Ronald,

I appreciate your interest. We are not using any managed code (it's all
native). I have compiled some statistics and provided some outputs for you
to look at if you are interested. Compile/links are 50-600% slower with 7.1
for regular and incremental builds respectively.

http://www.stankevitz.com/visualstudio/

Rudy (real email address appears at the bottom of that page)

"Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
Hi Rudy,

Does this project contain any managed code (i.e. code compiled with the CLR switch)? Incremental linking does not work for managed or mixed images. And in addition linking them is significantly slower. We are hoping to address
both issues longer term.

If it is a fully native image, we would be interested in taking a look at
why incremental linking doesn't work. Let me know so I can have someone
contact you in that case.

Thanks

Ronald Laeremans
Visual C++ team

"Rudy Ray Moore" <ru*******@hotm ail.com> wrote in message
news:e1******** ******@TK2MSFTN GP12.phx.gbl...

Oh, and I did turn on incremental linking: Project Settings | Linker |
General | Enable Incremental Linking (Yes)

"Rudy Ray Moore" <ru*******@hotm ail.com> wrote in message
news:uh******** ******@TK2MSFTN GP12.phx.gbl...
Why is "Visual Studio .net 2003 7.1 c++" so much slower than VS6 at

linking?

It looks like "Visual Studio .net 2003 7.1 c++" doesn't even do

incremental
linking! I make one very minor change in a .cpp from one of my thirty
projects and the whole thing links! (I turned on verbose linking to

verify
this.)

Is there something else I need to do to turn on incremental linking?

Rudy



Nov 17 '05 #5
Hi Rudy,

Thanks for putting that page together. I asked the folks from the IDE team
(for the rebuild issue and the other IDE comments) and the linker team to
take a look and contact you. In the unlikely case that doesn't happen over
the next week or so, please ping me (first name plus first letter of last
name at microsoft dot com).

Ronald Laeremans

"Rudy Ray Moore" <ru*******@hotm ail.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..

Ronald,

I appreciate your interest. We are not using any managed code (it's all
native). I have compiled some statistics and provided some outputs for you to look at if you are interested. Compile/links are 50-600% slower with 7.1 for regular and incremental builds respectively.

http://www.stankevitz.com/visualstudio/

Rudy (real email address appears at the bottom of that page)

"Ronald Laeremans [MSFT]" <ro*****@online .microsoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
Hi Rudy,

Does this project contain any managed code (i.e. code compiled with the

CLR
switch)? Incremental linking does not work for managed or mixed images.

And
in addition linking them is significantly slower. We are hoping to address both issues longer term.

If it is a fully native image, we would be interested in taking a look at why incremental linking doesn't work. Let me know so I can have someone
contact you in that case.

Thanks

Ronald Laeremans
Visual C++ team

"Rudy Ray Moore" <ru*******@hotm ail.com> wrote in message
news:e1******** ******@TK2MSFTN GP12.phx.gbl...

Oh, and I did turn on incremental linking: Project Settings | Linker |
General | Enable Incremental Linking (Yes)

"Rudy Ray Moore" <ru*******@hotm ail.com> wrote in message
news:uh******** ******@TK2MSFTN GP12.phx.gbl...
> Why is "Visual Studio .net 2003 7.1 c++" so much slower than VS6 at
linking?
>
> It looks like "Visual Studio .net 2003 7.1 c++" doesn't even do
incremental
> linking! I make one very minor change in a .cpp from one of my thirty > projects and the whole thing links! (I turned on verbose linking to
verify
> this.)
>
> Is there something else I need to do to turn on incremental linking?
>
> Rudy
>
>



Nov 17 '05 #6
Ronald Laeremans [MSFT] <ro*****@online .microsoft.com> wrote:
Hi Rudy,

Thanks for putting that page together. I asked the folks from the IDE team
(for the rebuild issue and the other IDE comments) and the linker team to
take a look and contact you. [...]
Ronald, I didn't think this was something
special. When we took a (pure native)
project from VC6 to VC7.1, the time for a
rebuild went up from about 15min to about
60min. (And this is Debug builds with /Od.)
The time needed to re-compile individual
files went up just the same.

Can we expect Whidbey to get better with
this? We are loosing a lot of time waiting
for the compiler.
Ronald Laeremans
[...]


Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
Nov 17 '05 #7

I found a wonderful solution to the problem. It's unfortunate that "VS7.1
c++ .net 2003" is slower thatn VC++6 at this, but this solution makes the
new VS act like the old:

Install this free open-source program:
http://workspacewhiz.com/OtherAddins...tSolutionBuild
"Hendrik Schober" <Sp******@gmx.d e> wrote in message
news:ug******** ******@TK2MSFTN GP10.phx.gbl...
Ronald Laeremans [MSFT] <ro*****@online .microsoft.com> wrote:
Hi Rudy,

Thanks for putting that page together. I asked the folks from the IDE team (for the rebuild issue and the other IDE comments) and the linker team to take a look and contact you. [...]


Ronald, I didn't think this was something
special. When we took a (pure native)
project from VC6 to VC7.1, the time for a
rebuild went up from about 15min to about
60min. (And this is Debug builds with /Od.)
The time needed to re-compile individual
files went up just the same.

Can we expect Whidbey to get better with
this? We are loosing a lot of time waiting
for the compiler.
Ronald Laeremans
[...]


Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers

Nov 17 '05 #8
Rudy Ray Moore <ru*******@hotm ail.com> wrote:
I found a wonderful solution to the problem. It's unfortunate that "VS7.1
c++ .net 2003" is slower thatn VC++6 at this, but this solution makes the
new VS act like the old:

Install this free open-source program:
http://workspacewhiz.com/OtherAddins...tSolutionBuild
IIUC, this only helps with dependency
checks. Our main problem is very slow
compilation and linking. (Dependency
checking takes 20sec, a full build
takes ~1h.)
Thanks anyway.
[...]

Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
Nov 17 '05 #9
Hi Hendrik,

A 300% slowdown is definitely not in the expected, or acceptable range,
please contact me privately over email (my contact info, hopefully in a non
spam collection friendly way, is in an earlier message in this thread) so we
can get a repro from you to analyze.

Ronald

"Hendrik Schober" <Sp******@gmx.d e> wrote in message
news:ug******** ******@TK2MSFTN GP10.phx.gbl...
Ronald Laeremans [MSFT] <ro*****@online .microsoft.com> wrote:
Hi Rudy,

Thanks for putting that page together. I asked the folks from the IDE team (for the rebuild issue and the other IDE comments) and the linker team to take a look and contact you. [...]


Ronald, I didn't think this was something
special. When we took a (pure native)
project from VC6 to VC7.1, the time for a
rebuild went up from about 15min to about
60min. (And this is Debug builds with /Od.)
The time needed to re-compile individual
files went up just the same.

Can we expect Whidbey to get better with
this? We are loosing a lot of time waiting
for the compiler.
Ronald Laeremans
[...]


Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers

Nov 17 '05 #10

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

Similar topics

2
4843
by: GSpiggle | last post by:
Have recently upgraded to Windows XP and latest Access 2003 from Windows 98 and Access 97. Distribute a lot of front end applications linked to network based data files. During normal working hours the loading of forms and reports in design mode is slow; response time to keyboard/mouse commands is horrible. After network activity is slowed down, normal design reactions resume. Yes, I have refreshed the links in my applications. Have...
2
3359
by: David | last post by:
Hi, We have an internal network of 3 users. Myself & one other currently have individual copies of the front-end MS Access forms and via our individual ODBC links we have used the: File > Get External Data > Link Tables > select ODBC Databases facility to link to our back-end MySQL Server. On both our machines the tables appear in the window very quickly and if we hit 'Select All', all the tables start loading really quickly into our...
8
2345
by: BlueBall | last post by:
I am writing some kind of network testing tool and I have wrote the following code in ASP.NET with C# int size= 10048576; // around 10 MB data string buffer = ""; for (int j=1; j<=1024; j++) { buffer = String.Concat(buffer, "x"); // I tried buffer += "x"; same performance }
0
3175
by: Andrew Dowding | last post by:
Hi Everybody, I have been looking at problems with my Windows Forms C# application and it's little Jet 4 (Access) database for the last few days. The Windows Forms app implements a facade and implementation, data abstraction layer. But because each data adapter in the implementation layer has a connection object that opens and closes as needed, I found I got several errors from the Jet engine when there were simultaneous connections to...
0
2631
by: roiavidan | last post by:
Hi, I'm having a bit of a problem with a small application I wrote in C#, which uses an Access database (mdb file) for storing financial data. After looking for a similiar topic and failing to find one, I'm posting the question in hope some one of you guys out there will have the answer for me...! I'll start with what I have, then I'll continue to the problem itself.
6
6716
by: MadMan2004 | last post by:
Hello all! I'm having a problem with a project I'm working on and I'd like to ask for anyone's input that might be helpful. I'm building a rather large front-end application connecting to an AS400 for the back end database and I'm experiencing slow response times when executing sql statements. Some select statement response times are bad. Not all, but some. And there doesn't seem to be a consistent factor in any of the sql statements...
4
1994
by: jonceramic | last post by:
Hi all, I have a situation I can't find any old messages or web-help on. I have a split database with a bizarre quirk. When I open up the front-end file, the main form opens up fairly quickly (~2-3 seconds.) If I copy my front end in Windows Explorer, the first time I open it, it's 2-3 seconds also.
7
6115
by: =?Utf-8?B?QWtlcmx1bmQ=?= | last post by:
User clicks a link that displays a customer card and financial stats (has a lot of database calls). Every 5 times the user clicks the same page/link it takes about 30 seconds (normal response time is <1 second) to display. Then you can click 4 times with a normal response time and the 5th the repsone time it is 30 seconds again. The page has exactly the same parameters every time but there seem to occur some "locking" that stops the action...
9
13050
by: SAL | last post by:
I have an ASP.NET 2.0 app that takes about 17 seconds to load on first startup but then is very fast after that. As I understand it from some posts in June, this is caused by the loading of the App Domain. We have both Cold Fusion and ASP.NET apps on this server and the Cold Fusion apps do not display such slowness on their first start up of the day. Is there a way to improve the load times of ASP.NET apps? I'm having to justify to my boss...
0
9993
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9841
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,...
0
11265
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, 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...
0
9662
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8036
isladogs
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...
0
7188
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4707
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4296
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3307
bsmnconsultancy
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...

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.