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

在代码级自动识别性能更改

Automated Identification of Performance Changes at Code Level

David Georg Reichelt, Stefan Kühne, Wilhelm Hasselbring

摘要:

为了开发具有最佳性能的软件,即使是很小的性能变化也需要识别。识别性能变化是具有挑战性的,因为软件的性能受到不确定因素的影响。因此,并不是每一个性能变化都可以通过合理的努力来衡量。在这项工作中,我们讨论了哪些性能变化是可衡量的代码级与合理的测量工作,以及如何识别它们。我们提出了(1)测量性能变化的边界的分析,(2)用于确定可重现的性能变化识别的配置的方法,以及(3)评估比较我们的方法是如何能够识别应用服务器Jetty的性能变化相比,使用Jetty自己的性能回归基准。因此,我们发现(1)小的性能差异只能通过细粒度的测量工作负载来测量,(2)由一个操作的变化引起的性能变化可以使用单元测试大小的工作负载定义和合适的配置来识别,以及(3)使用我们的方法比使用Jetty的性能回归基准更有效地识别小的性能回归。

英文摘要:

To develop software with optimal performance, even small performance changes need to be identified. Identifying performance changes is challenging since the performance of software is influenced by non-deterministic factors. Therefore, not every performance change is measurable with reasonable effort. In this work, we discuss which performance changes are measurable at code level with reasonable measurement effort and how to identify them. We present (1) an analysis of the boundaries of measuring performance changes, (2) an approach for determining a configuration for reproducible performance change identification, and (3) an evaluation comparing of how well our approach is able to identify performance changes in the application server Jetty compared with the usage of Jetty's own performance regression benchmarks. Thereby, we find (1) that small performance differences are only measurable by fine-grained measurement workloads, (2) that performance changes caused by the change of one operation can be identified using a unit-test-sized workload definition and a suitable configuration, and (3) that using our approach identifies small performance regressions more efficiently than using Jetty's performance regression benchmarks.

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

↑