On the Benefits and Limits of Incremental Build of Software Configurations: An Exploratory Study - Archive ouverte HAL
Conference Papers Year : 2022

On the Benefits and Limits of Incremental Build of Software Configurations: An Exploratory Study

Abstract

Software projects use build systems to automate the compilation, testing, and continuous deployment of their software products. As software becomes increasingly configurable, the build of multiple configurations is a pressing need, but expensive and challenging to implement. The current state of practice is to build independently (a.k.a., clean build) a software for a subset of configurations. While incremental build has been studied for software evolution and relatively small changes of the source code, it has surprisingly not been considered for software configurations. In this exploratory study, we examine the benefits and limits of building software configurations incrementally, rather than always building them cleanly. By using five real-life configurable systems as subjects, we explore whether incremental build works, outperforms a sequence of clean builds, is correct w.r.t. clean build, and can be used to find an optimal ordering for building configurations. Our results show that incremental build is feasible in 100% of the times in four subjects and in 78% of the times in one subject. In average, 88.5% of the configurations could be built faster with incremental build while also finding several alternatives faster incremental builds. However, only 60% of faster incremental builds are correct. Still, when considering those correct incremental builds with clean builds, we could always find an optimal order that is faster than just a collection of clean builds with a gain up to 11.76%.
Fichier principal
Vignette du fichier
ICSE22_HAL.pdf (773.34 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-03547219 , version 1 (28-01-2022)
hal-03547219 , version 2 (28-01-2022)
hal-03547219 , version 3 (11-02-2022)

Identifiers

  • HAL Id : hal-03547219 , version 3

Cite

Georges Aaron Randrianaina, Xhevahire Tërnava, Djamel Eddine Khelladi, Mathieu Acher. On the Benefits and Limits of Incremental Build of Software Configurations: An Exploratory Study. ICSE 2022 - 44th International Conference on Software Engineering, May 2022, Pittsburgh, Pennsylvania / Virtual, United States. pp.1-12. ⟨hal-03547219v3⟩
606 View
417 Download

Share

More