SPELLing out energy leaks: Aiding developers locate energy inefficient code

dc.contributor.author Carcao,T en
dc.contributor.author João Alexandre Saraiva en
dc.contributor.author João Paulo Fernandes en
dc.contributor.author Cunha,J en
dc.contributor.author Rui Alexandre Pereira en
dc.contributor.author Marco Linhares Couto en
dc.contributor.other 5597 en
dc.contributor.other 6187 en
dc.contributor.other 5974 en
dc.contributor.other 5631 en
dc.date.accessioned 2020-06-16T15:36:16Z
dc.date.available 2020-06-16T15:36:16Z
dc.date.issued 2020 en
dc.description.abstract Although hardware is generally seen as the main culprit for a computer's energy usage, software too has a tremendous impact on the energy spent. Unfortunately, there is still not enough support for software developers so they can make their code more energy-aware. This paper 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 source code. The result of our technique is an energy ranking of source code fragments pointing developers to possible energy leaks in their code. This technique was implemented in the SPELL toolkit. Finally, in order to evaluate our technique, we conducted an empirical study where we asked participants to optimize the energy efficiency of a software system using our tool, while also having two other groups using no tool assistance and a profiler, respectively. We showed statistical evidence that developers using our technique were able to improve the energy efficiency by 43% on average, and even out performing a profiler for energy optimization. © 2019 Elsevier Inc. en
dc.identifier.uri http://repositorio.inesctec.pt/handle/123456789/11245
dc.identifier.uri http://dx.doi.org/10.1016/j.jss.2019.110463 en
dc.language eng en
dc.rights info:eu-repo/semantics/openAccess en
dc.title SPELLing out energy leaks: Aiding developers locate energy inefficient code en
dc.type Publication en
dc.type article en
Files
Original bundle
Now showing 1 - 1 of 1
Thumbnail Image
Name:
P-00R-FKK.pdf
Size:
1.36 MB
Format:
Adobe Portable Document Format
Description: