Computing and Diagnosing Changes in Unit Test Energy Consumption

Authors Andrew J. Ko, Michal Young, Jamie Andrews, Brian P. Robinson, Mark Grechanik

Thumbnail PDF


  • Filesize: 114 kB
  • 8 pages

Document Identifiers

Author Details

Andrew J. Ko
Michal Young
Jamie Andrews
Brian P. Robinson
Mark Grechanik

Cite AsGet BibTex

Andrew J. Ko, Michal Young, Jamie Andrews, Brian P. Robinson, and Mark Grechanik. Computing and Diagnosing Changes in Unit Test Energy Consumption. In Practical Software Testing : Tool Automation and Human Factors. Dagstuhl Seminar Proceedings, Volume 10111, pp. 1-8, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2010)


Many developers have reason to be concerned with with power consumption. For example, mobile app developers want to minimize how much power their applications draw, while still providing useful functionality. However, developers have few tools to get feedback about changes to their application's power consumption behavior as they implement an application and make changes to it over time. We present a tool that, using a team's existing test cases, performs repeated measurements of energy consumption based on instructions executed, objects generated, and blocking latency, generating a distribution of energy use estimates for each test run, recording these distributions in a time series of distributions over time. Then, when these distributions change substantially, we inform the developer of this change, and offer them diagnostic information about the elements of their code potentially responsible for the change and the inputs responsible. Through this information, we believe that developers will be better enabled to relate recent changes in their code to changes in energy consumption, enabling them to better incorporate changes in software energy consumption into their software evolution decisions.
  • Energy
  • oracles


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads