什么是提高构建/编译时的方法吗? [英] What are ways of improving build/compile time?

查看:100
本文介绍了什么是提高构建/编译时的方法吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio,它似乎是摆脱未使用的引用和using语句加快大型项目我的生成时间。是否有加快构建时的其他已知的方法。有关其他语言有什么和构建环境?

I am using Visual Studio, and it seems that getting rid of unused references and using statements speeds up my build time on larger projects. Are there other known ways of speeding up build time. What about for other languages and build environments?

什么是典型的生成过程中的瓶颈/编译?磁盘,CPU,内存?

What is typically the bottleneck during build/compile? Disk, CPU, Memory?

什么是/列表是分布式构建很好的参考?

What is a list of/are good references for distributed builds?

推荐答案

我们为大型C ++项目所做的最大改进是从我们的分配基础之上。两三年前,一个完整的构建需要大约一个半小时,而它现在大约三分钟,其中三分之一是链接时。

The biggest improvement we made for our large C++ project was from distributing our builds. A couple of years ago, a full build would take about half an hour, while it's now about three minutes, of which one third is link time.

我们正在使用一个专有构建系统,但IncrediBuild为很多人工作的罚款(我们无法得到它可靠地工作)。

We're using a proprietary build system, but IncrediBuild is working fine for a lot of people (we couldn't get it to work reliably).

这篇关于什么是提高构建/编译时的方法吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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