链接时间慢 [英] Slow link times

查看:77
本文介绍了链接时间慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么是Visual Studio .net 2003 7.1 c ++在链接时比VS6慢得多吗?


看起来像Visual Studio .net 2003 7.1 c ++甚至不做增量

链接!我从我的三十个
项目中的一个项目和整个链接中做了一个非常小的改动.cpp! (我打开了详细的链接以验证

这个。)


我还需要做些什么来打开增量链接吗?
< br $>
Rudy

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

推荐答案



哦,我确实启用了增量链接:项目设置|链接器|

一般|启用增量链接(是)


" Rudy Ray Moore" < RU ******* @ hotmail.com>在消息中写道

news:uh ************** @ TK2MSFTNGP12.phx.gbl ...

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

"Rudy Ray Moore" <ru*******@hotmail.com> wrote in message
news:uh**************@TK2MSFTNGP12.phx.gbl...
为什么是视觉 Studio .net 2003 7.1 c ++"在
链接时比VS6慢得多?
看起来像Visual Studio .net 2003 7.1 c ++甚至不做
增量链接!我从我的三十个项目之一和整个链接中对.cpp进行了一次非常小的改动! (我打开详细链接到
验证这个。)

我还需要做些什么才能打开增量链接吗?

Rudy
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



嗨Rudy,


此项目是否包含任何托管代码(即使用CLR编译的代码

开关)?增量链接不适用于托管或混合图像。并且

另外链接它们要慢得多。我们希望长期解决

这两个问题。


如果它是一个完全原生的图像,我们会有兴趣看看

为什么增量链接不起作用。让我知道所以我可以有人

在这种情况下联系你。


谢谢


Ronald Laeremans < br $>
Visual C ++团队


" Rudy Ray Moore" < RU ******* @ hotmail.com>在留言中写道

新闻:e1 ************** @ TK2MSFTNGP12.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*******@hotmail.com> wrote in message
news:e1**************@TK2MSFTNGP12.phx.gbl...

哦,我确实启用了增量链接:项目设置|链接器|
一般|启用增量链接(是)

Rudy Ray Moore < RU ******* @ hotmail.com>在消息中写道
新闻:呃************** @ TK2MSFTNGP12.phx.gbl ...

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

"Rudy Ray Moore" <ru*******@hotmail.com> wrote in message
news:uh**************@TK2MSFTNGP12.phx.gbl...
为什么是Visual Studio .net 2003 7.1 c ++在
Why is "Visual Studio .net 2003 7.1 c++" so much slower than VS6 at


链接时比VS6慢得多?


linking?


它看起来像Visual Studio .net 2003 7.1 c ++。甚至不做

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


增量

链接!我从我的三十个项目之一和整个链接中对.cpp进行了一次非常小的改动! (我打开详细链接到
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


验证

这个。)

我还需要做些什么来打开增量链接吗? br />
Rudy
this.)

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

Rudy




Ronald,


我感谢您的兴趣。我们没有使用任何托管代码(它都是原生的b / b
)。我已经编制了一些统计数据并为你提供了一些输出

来看看你是否感兴趣。对于常规和增量构建,编译/链接速度分别降低50-600%和7.1



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

Rudy(我的真实电子邮件地址显示在那页的底部)


Ronald Laeremans [MSFT]" < RO ***** @ online.microsoft.com>在留言中写道

新闻:%2 **************** @ TK2MSFTNGP10.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 (my real email address appears at the bottom of that page)

"Ronald Laeremans [MSFT]" <ro*****@online.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
嗨鲁迪,

这个项目是否包含任何托管代码(即使用
CLR开关编译的代码)?增量链接不适用于托管或混合图像。
此外,链接它们的速度要慢得多。我们希望长期解决这两个问题。

如果它是一个完全原生的形象,我们会有兴趣看看为什么增量链接不会工作。让我知道所以我可以有人在这种情况下与你联系。

谢谢Ronald Laeremans
Visual C ++团队

Rudy Ray Moore < RU ******* @ hotmail.com>在消息中写道
新闻:e1 ************** @ TK2MSFTNGP12.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*******@hotmail.com> wrote in message
news:e1**************@TK2MSFTNGP12.phx.gbl...

哦,我做了打开增量链接:项目设置|链接器|
一般|启用增量链接(是)

Rudy Ray Moore < RU ******* @ hotmail.com>在消息中写道
新闻:呃************** @ TK2MSFTNGP12.phx.gbl ...

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

"Rudy Ray Moore" <ru*******@hotmail.com> wrote in message
news:uh**************@TK2MSFTNGP12.phx.gbl...
为什么是Visual Studio .net 2003 7.1 c ++在
Why is "Visual Studio .net 2003 7.1 c++" so much slower than VS6 at


链接时比VS6慢得多?


linking?


它看起来像Visual Studio .net 2003 7.1 c ++。甚至不做

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


增量

链接!我从我的三十个项目之一和整个链接中对.cpp进行了一次非常小的改动! (我打开详细链接到
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


验证

这个。)

我还需要做些什么来打开增量链接吗? br />
Rudy
this.)

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

Rudy





这篇关于链接时间慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆