Can We Spot Energy Regressions using Developers Tests? - Archive ouverte HAL
Article Dans Une Revue Empirical Software Engineering Année : 2024

Can We Spot Energy Regressions using Developers Tests?

Résumé

Background Software Energy Consumption (SEC) is gaining more and more attention. In this paper, we tackle the problem of warning developers about the increase of SEC of their programs during Continuous Integration (CI). Objective In this study, we investigate if the CI can leverage developers' tests to perform energy regression testing. Energy regression is similar to performance regression but focuses on the energy consumption of the program instead of standard performance indicators, like execution time or memory consumption. Method We perform an exploratory study of the usage of developers' tests for energy regression testing. We first investigate if developers' tests can be used to obtain stable SEC indicators. Then, we evaluate if comparing the SEC of developers' tests between two versions can pinpoint energy regressions introduced by automated program mutations. Finally, we manually evaluate several real commits pinpointed by our approach. Impact Our study will pave the way for automated SEC regression tools that can be readily deployed inside an existing CI infrastructure to raise awareness of SEC issues among practitioners.
Fichier principal
Vignette du fichier
_EMSE__Can_We_Spot_Energy_Regression_using_Developers_Tests_-2.pdf (666.04 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04286574 , version 1 (15-11-2023)

Identifiants

Citer

Benjamin Danglot, Jean-Rémy Falleri, Romain Rouvoy. Can We Spot Energy Regressions using Developers Tests?. Empirical Software Engineering, inPress, 29 (121), ⟨10.1007/s10664-023-10429-1⟩. ⟨hal-04286574⟩
327 Consultations
117 Téléchargements

Altmetric

Partager

More