Investigating the Impact of Code Refactoring Techniques on Energy Consumption in Different Object-Oriented Programming Languages
Citation
Sanlialp, I., & Ozturk, M. M. (2019, April). Investigating the Impact of Code Refactoring Techniques on Energy Consumption in Different Object-Oriented Programming Languages. In The International Conference on Artificial Intelligence and Applied Mathematics in Engineering (pp. 142-152). Springer, Cham.Abstract
Code refactoring techniques that are used to improve the properties of the code such as readability, performance, maintenance are applied to the code depending on the type of coding. However, these techniques could increase energy consumption that this case can be considered as a hint for re-arranging them. This article includes an empirical experiment that investigates the effect of refactoring techniques energy consumption. C#, Java, and C++ are selected as experimental object-oriented languages. The individual effects of the five different code refactoring techniques are examined on similar applications coded with three different languages. The power consumption profiling tool namely Intel Power Gadget is used for measuring energy consumption of original and refactored codes. The findings of the analysis provide new insights into how a refactoring technique affects energy consumption with regard to the type of programming language. © 2020, Springer Nature Switzerland AG.