Helping Programmers Improve the Energy Efficiency of Source Code

Rui Pereira, Tiago Carcao, Marco Couto, Jacome Cunha, Joao Paulo Fernandes, Joao Saraiva
2017 2017 IEEE/ACM 39th International Conference on Software Engineering Companion (ICSE-C)  
This paper briefly proposes a technique to detect energy inefficient fragments in the source code of a software system. Test cases are executed to obtain energy consumption measurements, and a statistical method, based on spectrum-based fault localization, is introduced to relate energy consumption to the system's source code. The result of our technique is an energy ranking of source code fragments pointing developers to possible energy leaks in their code.
doi:10.1109/icse-c.2017.80 dblp:conf/icse/PereiraC0CFS17 fatcat:pns6dppuibaxjagm3yvo4o7qyu