Tales from the Code #1: The Effective Impact of Code Refactorings on Software Energy Consumption
Zakaria Ournani, Zakaria Ournani, Zakaria Ournani, Romain Rouvoy, Romain Rouvoy, Pierre Rust, Joel Penhoat
2021
Abstract
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.
DownloadPaper Citation
in Harvard Style
Ournani Z., Rouvoy R., Rust P. and Penhoat J. (2021). Tales from the Code #1: The Effective Impact of Code Refactorings on Software Energy Consumption. In Proceedings of the 16th International Conference on Software Technologies - Volume 1: ICSOFT, ISBN 978-989-758-523-4, pages 34-46. DOI: 10.5220/0010517900340046
in Bibtex Style
@conference{icsoft21,
author={Zakaria Ournani and Romain Rouvoy and Pierre Rust and Joel Penhoat},
title={Tales from the Code #1: The Effective Impact of Code Refactorings on Software Energy Consumption},
booktitle={Proceedings of the 16th International Conference on Software Technologies - Volume 1: ICSOFT,},
year={2021},
pages={34-46},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0010517900340046},
isbn={978-989-758-523-4},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 16th International Conference on Software Technologies - Volume 1: ICSOFT,
TI - Tales from the Code #1: The Effective Impact of Code Refactorings on Software Energy Consumption
SN - 978-989-758-523-4
AU - Ournani Z.
AU - Rouvoy R.
AU - Rust P.
AU - Penhoat J.
PY - 2021
SP - 34
EP - 46
DO - 10.5220/0010517900340046