English

Build Optimization: A Systematic Literature Review

Software Engineering 2025-08-26 v1

Abstract

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.

Keywords

Cite

@article{arxiv.2501.11940,
  title  = {Build Optimization: A Systematic Literature Review},
  author = {Henri Aïdasso and Mohammed Sayagh and Francis Bordeleau},
  journal= {arXiv preprint arXiv:2501.11940},
  year   = {2025}
}

Comments

An earlier version of this work was submitted to ACM CSUR in November 2023

R2 v1 2026-06-28T21:12:08.802Z