Assessing the Impact of Refactoring Energy-Inefficient Code Patterns on Software Sustainability: An Industry Case Study
By: Rohit Mehra , Priyavanshi Pathania , Vibhu Saujanya Sharma and more
Potential Business Impact:
Makes computer programs use less energy.
Advances in technologies like artificial intelligence and metaverse have led to a proliferation of software systems in business and everyday life. With this widespread penetration, the carbon emissions of software are rapidly growing as well, thereby negatively impacting the long-term sustainability of our environment. Hence, optimizing software from a sustainability standpoint becomes more crucial than ever. We believe that the adoption of automated tools that can identify energy-inefficient patterns in the code and guide appropriate refactoring can significantly assist in this optimization. In this extended abstract, we present an industry case study that evaluates the sustainability impact of refactoring energy-inefficient code patterns identified by automated software sustainability assessment tools for a large application. Preliminary results highlight a positive impact on the application's sustainability post-refactoring, leading to a 29% decrease in per-user per-month energy consumption.
Similar Papers
Teaching Energy-Efficient Software -- An Experience Report
Software Engineering
Teaches how to make computer programs use less power.
Do Generative AI Tools Ensure Green Code? An Investigative Study
Software Engineering
AI-written code is not yet eco-friendly.
Evaluating the impact of code smell refactoring on the energy consumption of Android applications
Software Engineering
Cleans up app code to save phone battery.