Can We Spot Energy Regressions using Developers Tests?

08/12/2021
by   Benjamin Danglot, et al.
0

Software Energy Consumption(SEC) is gaining more and more attention. In this paper, we tackle the problem of hinting developers about the SEC of their programs in the context of software developments based on Continuous Integration(CI). In this study, we investigate if the CI can leverage developers' tests to perform a new class of tests: the energy regression testing. Energy regression is similar to performance regression but focused on the energy consumption of the program instead of standard performance indicators, like execution time or memory consumption. We propose to perform an exploratory study of the usage of developers' tests for energy regression testing. We propose to first investigate if developers' tests can be used to obtain stable SEC indicators. Then, to consider if comparing the SEC of developers' tests between two versions can accurately spot energy regressions introduced by automated program mutations. Finally, to assess if it can successfully pinpoint the source code lines guilty of energy regressions. Our study will pave the way for automated SEC regression tools that can be readily deployed inside an existing CI infrastructure to raise awareness of SEC issues among practitioners.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/30/2022

Type Systems in Resource-Aware Programming: Opportunities and Challenges

Type systems provide software developers immediate feedback about a subs...
research
02/14/2022

Gamekins: Gamifying Software Testing in Jenkins

Developers have to write thorough tests for their software in order to f...
research
01/20/2021

LightSys: Lightweight and Efficient CI System for Improving Integration Speed of Software

The complexity and size increase of software has extended the delay for ...
research
11/22/2022

Energy Consumption of Automated Program Repair

Automated program repair (APR) aims to automatize the process of repairi...
research
12/09/2021

A Qualitative Study on the Sources, Impacts, and Mitigation Strategies of Flaky Tests

Test flakiness forms a major testing concern. Flaky tests manifest non-d...
research
02/22/2019

Penetration Tests for Bluetooth Low Energy and Zigbee using the Software-Defined Radio

This article discusses the available Software Defined Radios (SDRs), com...
research
09/14/2022

Non-Functional Testing of Runtime Enforcers in Android

Runtime enforcers can be used to ensure that running applications satisf...

Please sign up or login with your details

Forgot password? Click here to reset