Lune

ASE2020Top-tier venue

CP-Detector: Using Configuration-related Performance Properties to Expose Performance Bugs

Haochen He, Zhouyang Jia, Shanshan Li, Erci Xu, Tingting Yu, Yue Yu, Ji Wang, Xiangke Liao

Abstract

Performance bugs are often hard to detect due to their non failstop symptoms. Existing debugging techniques can only detect performance bugs with known patterns (e.g., inefficient loops). The key reason behind this incapability is the lack of a general test oracle. Here, we argue that the performance (e.g., throughput, latency, execution time) expectation of configuration can serve as a strong oracle candidate for performance bug detection. First, prior work shows that most performance bugs are related to configurations. Second, the configuration change reflects common expectation on performance changes. If the actual performance is contrary to the expectation, the related code snippet is likely to be problematic. In this paper, we first conducted a comprehensive study on 173 real-world configuration-related performance bugs (CPBugs) from 12 representative software systems. We then derived seven configuration-related performance properties, which can serve as the test oracle in performance testing. Guided by the study, we designed and evaluated an automated performance testing framework, CP-Detector, for detecting real-world configuration-related performance bugs. CP-Detector was evaluated on 12 open-source projects. The results showed that it detected 43 out of 61 existing bugs and reported 13 new bugs.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • When Database Meets New Storage Devices: Understanding and Exposing Performance Mismatches via Configurations cites Understanding and Detecting On-The-Fly Configuration Bugs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Understanding performance problems in deep learning systemsJunming Cao, Bihuan Chen, Chao Sun, Longjie Hu et al.FSE 2022 · 33 citations
  2. On Debugging the Performance of Configurable Software Systems: Developer Needs and Tailored Tool SupportMiguel Velez, Pooyan Jamshidi, Norbert Siegmund, Sven Apel et al.ICSE 2022 · 21 citations
  3. When Database Meets New Storage Devices: Understanding and Exposing Performance Mismatches via ConfigurationsHaochen He, Erci Xu, Shanshan Li, Zhouyang Jia et al.VLDB 2023 · 17 citations
  4. Understanding and Detecting On-The-Fly Configuration BugsTeng Wang, Zhouyang Jia, Shanshan Li, Si Zheng et al.ICSE 2023 · 12 citations
  5. Multi-Intention-Aware Configuration Selection for Performance TuningHaochen He, Zhouyang Jia, Shanshan Li, Yue Yu et al.ICSE 2022 · 11 citations

Builds on1

  1. Towards the use of the readily available tests from the release pipeline as performance tests: are we there yet?Zishuo Ding, Jinfu Chen, Weiyi ShangICSE 2020 · 33 citations

Related papers

  1. Faster Configuration Performance Bug Testing with Neural Dual-Level PrioritizationYoupeng Ma, Tao Chen, Ke LiICSE 2025 · 4 citations
  2. Perfect is the enemy of test oracleAli Reza Ibrahimzada, Yigit Varli, Dilara Tekinoglu, Reyhaneh JabbarvandFSE 2022 · 23 citations
  3. Test-case prioritization for configuration testingRunxiang Cheng, Lingming Zhang, Darko Marinov, Tianyin XuISSTA 2021 · 34 citations
  4. Challenges and opportunities: an in-depth empirical study on configuration error injection testingWang Li, Zhouyang Jia, Shanshan Li, Yuanliang Zhang et al.ISSTA 2021 · 18 citations
  5. DiagConfig: Configuration Diagnosis of Performance Violations in Configurable Software SystemsZhiming Chen, Pengfei Chen, Peipei Wang, Guangba Yu et al.FSE 2023 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines