Tales from the Code #1: The Effective Impact of Code Refactorings on Software Energy Consumption - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Communication Dans Un Congrès Année : 2021

Tales from the Code #1: The Effective Impact of Code Refactorings on Software Energy Consumption

Résumé

Software maintenance and evolution enclose a broad set of actions that aim to improve both functional and non-functional concerns of a software system. Among the non-functional concerns, energy consumption is getting more and more traction in the industry, no matter the software is mobile or deployed in the cloud. In this context, the impact of code refactorings on energy consumption remains unclear, though. In particular, while the state of the art investigated the impact of some specific code refactorings on dedicated benchmarks, we miss an assessment that those apply to more comprehensive and complex software. To address this threat, this paper studies the evolution of the energy consumption of 7 open-source software developed for more than 5 years. Then, by focusing on the impact on energy consumption of changes involving code refactorings, we intend to assess the effects induced by such code refactorings in practice. For all these software systems we studied, our empirical results report that the code refactorings we mined do not substantially impact energy consumption. Interestingly, these results highlight that i) structural code refactorings bring energy-preserving changes to the code, and ii) major energy variations seem to be related to functional and computational code evolutions.
Fichier principal
Vignette du fichier
ICSOFT.pdf (625.24 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03202437 , version 1 (19-04-2021)

Identifiants

  • HAL Id : hal-03202437 , version 1

Citer

Zakaria Ournani, Romain Rouvoy, Pierre Rust, Joel Penhoat. Tales from the Code #1: The Effective Impact of Code Refactorings on Software Energy Consumption. ICSOFT 2021 - 16th International Conference on Software Technologies, Jul 2021, Virtual, France. ⟨hal-03202437⟩
368 Consultations
463 Téléchargements

Partager

Gmail Facebook X LinkedIn More