Towards the use of the readily available tests from the release pipeline as performance tests: are we there yet?
Zishuo Ding, Jinfu Chen, Weiyi Shang
摘要
Performance is one of the important aspects of software quality. Performance issues exist widely in software systems, and the process of fixing the performance issues is an essential step in the release cycle of software systems. Although performance testing is widely adopted in practice, it is still expensive and time-consuming. In particular, the performance testing is usually conducted after the system is built in a dedicated testing environment. The challenges of performance testing make it difficult to fit into the common DevOps process in software development. On the other hand, there exist a large number of tests readily available, that are executed regularly within the release pipeline during software development. In this paper, we perform an exploratory study to determine whether such readily available tests are capable of serving as performance tests. In particular, we would like to see whether the performance of these tests can demonstrate performance improvements obtained from fixing real-life performance issues. We collect 127 performance issues from Hadoop and Cassandra, and evaluate the performance of the readily available tests from the commits before and after the performance issue fixes. We find that most of the improvements from the fixes to performance issues can be demonstrated using the readily available tests in the release pipeline. However, only a very small portion of the tests can be used for demonstrating the improvements. By manually examining the tests, we identify eight reasons that a test cannot demonstrate performance improvements even though it covers the changed source code of the issue fix. Finally, we build random forest classifiers determining the important metrics influencing the readily available tests (not) being able to demonstrate performance improvements from issue fixes. We find that the test code itself and the source code covered by the test are important factors, while the factors related to the code changes in the performance issues fixes have a low importance. Practitioners may focus on designing and improving the tests, instead of fine-tuning tests for different performance issues fixes. Our findings can be used as a guideline for practitioners to reduce the amount of effort spent on leveraging and designing tests that run in the release pipeline for performance assurance activities.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- AI-driven Java Performance Testing: Balancing Result Quality with Testing Time 引用了 Dynamically reconfiguring software microbenchmarks: reducing execution time without sacrificing result quality
- AI-driven Java Performance Testing: Balancing Result Quality with Testing Time 引用了 Faster or Slower? Performance Mystery of Python Idioms Unveiled with Empirical Evidence
引用它的顶会 Paper8
- Dynamically reconfiguring software microbenchmarks: reducing execution time without sacrificing result qualityChristoph Laaber, Stefan Würsten, Harald C. Gall, Philipp LeitnerFSE 2020 · 36 次引用
- Faster or Slower? Performance Mystery of Python Idioms Unveiled with Empirical EvidenceZejun Zhang, Zhenchang Xing, Xin Xia, Xiwei Xu 等ICSE 2023 · 16 次引用
- CP-Detector: Using Configuration-related Performance Properties to Expose Performance BugsHaochen He, Zhouyang Jia, Shanshan Li, Erci Xu 等ASE 2020 · 14 次引用
- AI-driven Java Performance Testing: Balancing Result Quality with Testing TimeLuca Traini, Federico Di Menna, Vittorio CortellessaASE 2024 · 12 次引用
- On the Temporal Relations between Logging and CodeZishuo Ding, Yiming Tang, Yang Li, Heng Li 等ICSE 2023 · 9 次引用
相关 Paper
- IoPV: On Inconsistent Option Performance VariationsJinfu Chen, Zishuo Ding, Yiming Tang, Mohammed Sayagh 等FSE 2023 · 7 次引用
- Test-case prioritization for configuration testingRunxiang Cheng, Lingming Zhang, Darko Marinov, Tianyin XuISSTA 2021 · 34 次引用
- SWE-fficiency: Can Language Models Optimize Real-World Repositories on Real Workloads?Jeffrey Ma, Milad Hashemi, Amir Yazdanbakhsh, Kevin Swersky 等ICML 2026 · 13 次引用
- An Evolutionary Study of Configuration Design and Implementation in Cloud SystemsYuanliang Zhang, Haochen He, Owolabi Legunsen, Shanshan Li 等ICSE 2021 · 19 次引用
- Reducing Test Runtime by Transforming Test FixturesChengpeng Li, Abdelrahman Baz, August ShiASE 2024 · 1 次引用
