当前位置: X-MOL 学术arXiv.cs.PF › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Can We Spot Energy Regressions using Developers Tests?
arXiv - CS - Performance Pub Date : 2021-08-12 , DOI: arxiv-2108.05691
Benjamin Danglot, Jean-Rémy Falleri, Romain Rouvoy

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.

中文翻译:

我们可以使用开发人员测试发现能量回归吗?

软件能耗(SEC)越来越受到关注。在本文中,我们解决了在基于持续集成 (CI) 的软件开发环境中向开发人员暗示其程序的 SEC 的问题。在这项研究中,我们调查 CI 是否可以利用开发人员的测试来执行一类新的测试:能量回归测试。能量回归类似于性能回归,但侧重于程序的能量消耗,而不是标准性能指标,如执行时间或内存消耗。我们建议对开发人员的能源回归测试的使用进行探索性研究。我们建议首先调查是否可以使用开发人员的测试来获得稳定的 SEC 指标。然后,考虑是否比较开发商的 SEC 两个版本之间的测试可以准确地发现由自动程序突变引入的能量回归。最后,评估它是否可以成功查明存在能量回归的源代码行。我们的研究将为自动化 SEC 回归工具铺平道路,这些工具可以轻松部署在现有 CI 基础设施中,以提高从业者对 SEC 问题的认识。
更新日期:2021-08-13
down
wechat
bug