Did I make a mistake? Finding the impact of code change on energy regression
- Published
- Accepted
- Subject Areas
- Data Mining and Machine Learning, Mobile and Ubiquitous Computing, Software Engineering
- Keywords
- Software energy consumption, Energy bugs, Software energy modeling, Automatic test generation, Software energy efficiency
- Copyright
- © 2017 Chowdhury et al.
- Licence
- This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ Preprints) and either DOI or URL of the article must be cited.
- Cite this article
- 2017. Did I make a mistake? Finding the impact of code change on energy regression. PeerJ Preprints 5:e2419v3 https://doi.org/10.7287/peerj.preprints.2419v3
Abstract
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.
Author Comment
We are submitting in a conference, which follows a double-blind review process. So we had to change the title.