arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.11940cs.SE
收藏

构建优化:系统性文献综述

Build Optimization: A Systematic Literature Review

Henri Aïdasso, Mohammed Sayagh, Francis Bordeleau

AI总结:

本文通过系统性综述2006-2024年97项构建优化研究,分析其目标、方法等,聚焦构建时长和失败两大挑战,总结相关技术、指标分类及8个公开数据集,为从业者和未来研究提供参考。

摘要:

持续集成(CI)包含自动化构建过程,涉及软件系统的持续编译、测试和打包。尽管CI在质量和交付时间方面具有多项优势,但也带来了大量研究致力于解决的若干挑战。为更好地理解相关文献,以帮助从业者找到问题解决方案并指导未来研究,我们对2006年至2024年间发表的97项关于构建优化的研究进行了系统性综述,并根据其目标、方法、使用的数据集和利用的指标进行了总结。已识别的构建优化研究聚焦于两大主要挑战:(1)构建持续时间长,以及(2)构建失败。为应对第一个挑战,现有研究开发了一系列技术,包括预测构建结果和持续时间、选择性构建执行,以及使用缓存或修复性能异味的构建加速。构建失败的原因是多项研究的主题,促成了预测构建脚本维护和自动化修复技术的发展。近期研究还关注预测由环境问题导致的不稳定构建失败。这些技术大多使用机器学习算法,并利用构建指标,我们将这些指标分为五类。此外,我们识别出8个可公开获取的用于构建优化研究的构建数据集。

英文摘要:

Continuous Integration (CI) consists of an automated build process involving continuous compilation, testing, and packaging of the software system. While CI comes up with several advantages related to quality and time to delivery, CI also presents several challenges addressed by a large body of research. To better understand the literature so as to help practitioners find solutions for their problems and guide future research, we conduct a systematic review of 97 studies on build optimization published between 2006 and 2024, which we summarized according to their goals, methodologies, used datasets, and leveraged metrics. The identified build optimization studies focus on two main challenges: (1) long build durations, and (2) build failures. To meet the first challenge, existing studies have developed a range of techniques, including predicting build outcome and duration, selective build execution, and build acceleration using caching or repairing performance smells. The causes of build failures have been the subject of several studies, leading to the development of techniques for predicting build script maintenance and automating repair. Recent studies have also focused on predicting flaky build failures caused by environmental issues. The majority of these techniques use machine learning algorithms and leverage build metrics, which we classify into five categories. Additionally, we identify eight publicly available build datasets for build optimization research.

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

↑