arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.19895cs.SE
收藏

软件版本历史中能量退化的系统性检测

Systematic Detection of Energy Regressions in Software Version Histories

University of Namur(那慕尔大学);Delft University of Technology(代尔夫特理工大学)

Jérôme Maquoi, François Bechet, Luís Cruz, Benoît Vanderose, Xavier Devroey

AI总结:

本文提出EnergyTrackr方法,通过对5个Java项目1932次提交的评估,验证其可高效检测提交间能量退化,二分算法效率优于线性算法,可助力开发者优化软件能耗。

摘要:

背景:绿色软件工程正成为应对信息技术日益增长的能源影响(尤其在持续开发场景中)的关键方案。然而,设计自动化方法以高效识别提交间的能量退化仍存在挑战,目前针对提交级、通过识别能耗统计显著变化实现的退化自动检测研究较少。目标:本文提出EnergyTrackr,一种用于检测多个提交间能量退化的方法。方法:我们对5个Java项目的1932次提交进行了EnergyTrackr的实证评估,评估其识别显著能量变化的能力;同时对比了分析完整提交历史的简单线性算法与更高效的二分搜索算法。结果:评估证明了EnergyTrackr识别提交间显著能量变化的有效性;研究发现二分算法在揭示整体软件能量趋势方面效率更高,其结果与线性算法相当,同时降低了资源消耗和处理时间。结论:我们期望EnergyTrackr能帮助开发者准确监控项目中的能量退化与改进,并优化源代码以降低软件能耗。

英文摘要:

Context: Green software engineering is emerging as a crucial response to the rising energy impact of information technology, especially in continuous development. However, challenges remain in devising automated methods to efficiently identify energy regressions across commits. In particular, little effort has been put into automatically detecting regressions at the commit level by identifying statistically significant changes in energy consumption. Objectives: This paper presents EnergyTrackr, an approach for detecting energy regressions across multiple commits. Methods: We empirically evaluated EnergyTrackr on 1,932 commits from five Java projects, assessing its ability to identify significant energy changes. We also compared a straightforward linear algorithm that analyzes the entire commit history with a more efficient dichotomous search algorithm. Results: The evaluation demonstrates the effectiveness of EnergyTrackr in identifying significant energy changes across commits. Our findings highlight the efficiency of the dichotomous algorithm in uncovering overall software energy trends, achieving results comparable to the linear approach while reducing resource consumption and processing time. Conclusion: We expect EnergyTrackr to help developers accurately monitor energy regressions and improvements in their projects and optimize their source code to reduce software energy consumption.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑