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

检测可配置软件系统中与性能相关的变化

Detecting Performance-Relevant Changes in Configurable Software Systems

Saarland University(萨尔兰大学);Leipzig University(莱比锡大学)

Sebastian Böhm, Florian Sattler, Norbert Siegmund, Sven Apel

AI总结:

ConfFLARE通过识别数据流交互和相关软件特性,有效减少性能测试成本,准确检测性能退化。

摘要:

软件系统的性能是一个易变的属性,需要频繁进行性能分析以保持对系统性能行为的知识更新。在每次修订后重复所有性能测量是一项成本高昂的任务,尤其是在存在可配置性的情况下,需要测量多个配置以获得全面的视图。配置采样是一种常见的方法来控制测量成本。然而,它无法保证完整性,可能会遗漏性能退化,特别是当这些退化只影响少数配置时。作为解决成本减少问题的替代方法,我们提出了ConfFLARE:ConfFLARE通过识别与性能相关代码的数据流交互,并提取参与此类交互的软件特性,来估计更改是否可能影响性能。基于这些特性,我们可以选择一组相关的配置来集中性能分析的努力。在对合成和真实世界软件系统进行的研究中,ConfFLARE几乎在所有情况下都能正确检测性能退化,并在所有但两个情况下识别出相关特性,将需要测试的配置数量平均减少79%(对于合成系统)和70%(对于真实世界退化场景),节省了数小时的性能测试时间。

英文摘要:

Performance is a volatile property of a software system and frequent performance profiling is required to keep the knowledge about a software system's performance behavior up to date. Repeating all performance measurements after every revision is a cost-intensive task, especially in the presence of configurability, where one has to measure multiple configurations to obtain a comprehensive picture. Configuration sampling is a common approach to control the measurement cost. However, it cannot guarantee completeness and might miss performance regressions, especially if they only affect few configurations. As an alternative to solve the cost reduction problem, we present ConfFLARE: ConfFLARE estimates whether a change potentially impacts performance by identifying data-flow interactions with performance-relevant code and extracts which software features participate in such interactions. Based on these features, we can select a subset of relevant configurations to focus performance profiling efforts on. In a study conducted on both, synthetic and real-world software systems, ConfFLARE correctly detects performance regressions in almost all cases and identifies relevant features in all but two cases, reducing the number of configurations to be tested on average by $79\%$ for synthetic and by $70\%$ for real-world regression scenarios saving hours of performance testing time.

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

↑