arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1010.2196cs.PL
收藏

使用GCC链路时间优化来优化实际应用

Optimizing real world applications with GCC Link Time Optimization

T. Glek, J. Hubicka

摘要:

GCC有一个新的基础设施来支持链接时间优化(LTO)。该基础设施的目的是允许链接的大型应用程序使用一个特殊的模式(WHOPR),支持并行化的编译过程。在本文中,我们提出的WHOPR的设计和实施的概述,并提出其行为的测试结果时,优化大型应用程序。我们给出了编译时间,内存使用和代码质量的数字比较,以经典的文件为基础的优化模型。特别是我们专注于Firefox Web浏览器。我们展示了只有在编译大型应用程序时才会出现的主要问题,例如启动时间和代码大小增长。

英文摘要:

GCC has a new infrastructure to support a link time optimization (LTO). The infrastructure is designed to allow linking of large applications using a special mode (WHOPR) which support parallelization of the compilation process. In this paper we present overview of the design and implementation of WHOPR and present test results of its behavior when optimizing large applications. We give numbers on compile time, memory usage and code quality comparisons to the classical file by file based optimization model. In particular we focus on Firefox web browser. We show main problems seen only when compiling a large application, such as startup time and code size growth.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑