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

Author(s):  
Zakaria Ournani ◽  
Romain Rouvoy ◽  
Pierre Rust ◽  
Joel Penhoat
IEEE Software ◽  
2016 ◽  
Vol 33 (3) ◽  
pp. 83-89 ◽  
Author(s):  
Candy Pang ◽  
Abram Hindle ◽  
Bram Adams ◽  
Ahmed E. Hassan

Author(s):  
Shaiful Alam Chowdhury ◽  
Luke N Kumar ◽  
Md. Toukir Imam ◽  
Mohomed Shazan Mohomed Jabbar ◽  
Varun Sapra ◽  
...  

2017 ◽  
Author(s):  
Shaiful Alam Chowdhury ◽  
Stephanie Gil ◽  
Stephen Romansky ◽  
Abram Hindle

Software energy consumption is a performance related non-functional requirement that complicates building software on mobile devices today. Energy hogging applications are a liability to both the end-user and software developer. Measuring software energy consumption is non-trivial, requiring both equipment and expertise, yet many researchers have found that software energy consumption can be modelled. Prior works have hinted that with more energy measurement data one can make more accurate energy models but this data was expensive to extract because it required energy measurement of running test cases (rare) or time consuming manually written tests. We address these concerns by automatically generating test cases to drive applications undergoing energy measurement. Automatic test generation allows a model to be continuously improved in a model building process whereby applications are extracted, tests are generated, energy is measured and combined with instrumentation to train a grander big-data model of software energy consumption. This continuous process has allowed the authors to generate and extract measurements from hundreds of applications in order to build accurate energy models capable of predicting the energy consumption of applications without end-user energy measurement. We clearly show that models built from more applications reduce energy modelling error.


2017 ◽  
Author(s):  
Shaiful Alam Chowdhury ◽  
Stephanie Gil ◽  
Stephen Romansky ◽  
Abram Hindle

Software energy consumption is a performance related non-functional requirement that complicates building software on mobile devices today. Energy hogging applications are a liability to both the end-user and software developer. Measuring software energy consumption is non-trivial, requiring both equipment and expertise, yet many researchers have found that software energy consumption can be modelled. Prior works have hinted that with more energy measurement data one can make more accurate energy models but this data was expensive to extract because it required energy measurement of running test cases (rare) or time consuming manually written tests. We address these concerns by automatically generating test cases to drive applications undergoing energy measurement. Automatic test generation allows a model to be continuously improved in a model building process whereby applications are extracted, tests are generated, energy is measured and combined with instrumentation to train a grander big-data model of software energy consumption. This continuous process has allowed the authors to generate and extract measurements from hundreds of applications in order to build accurate energy models capable of predicting the energy consumption of applications without end-user energy measurement. We clearly show that models built from more applications reduce energy modelling error.


2020 ◽  
Vol 27 (3) ◽  
pp. 72-83
Author(s):  
Danilo Silva Alves ◽  
Oseias Ayres Ferreira ◽  
Lucio Mauro Duarte ◽  
Davi Silva ◽  
Paulo Henrique Maia

Although energy has become an important aspect in software development, little support exists for creating energy-efficient programs. One reason for that is the lack of abstractions and tools to enable the analysis of relevant properties involving energy consumption. This paper presents the results of some experiments involving the gathering, modelling, and analysis of energy-related information, in particular, the costs of executing certain parts of a software. We combine some existing free and open-source tools to carry out the experiments, extending one of them to handle energy information. Our experiments consider a comparison of energy consumption of Java implementations of the Bubble Sort, Insertion Sort and Selection Sort algorithms using different data structures. We show how to combine an energy measurement tool and a model analysis tool to carry such a comparison. Based on this support and on our experiments, we believe this is a first step to allow developers to start creating more energy-efficient software.


Sign in / Sign up

Export Citation Format

Share Document