CP-Detector: Using Configuration-related Performance Properties to Expose Performance Bugs
Performance bugs are often hard to detect due to their non fail-stop 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 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 users’ expectation on performance changes. If the actual performance behaves differently from the users’ 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 test oracles 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.
Wed 23 SepDisplayed time zone: (UTC) Coordinated Universal Time change
09:10 - 10:10 | Configuration Management (1)Research Papers at Koala Chair(s): Carmine Vassallo University of Zurich, Switzerland | ||
09:10 20mTalk | Automated Implementation of Windows-related Security-Configuration Guides Research Papers Patrick Stöckle Technical University of Munich (TUM), Bernd Grobauer Siemens AG, Alexander Pretschner Technical University of Munich Link to publication DOI Pre-print | ||
09:30 20mTalk | Identifying Software Performance Changes Across Variants and Versions Research Papers Stefan Mühlbauer Leipzig University, Sven Apel Saarland University, Germany, Norbert Siegmund Leipzig University DOI Pre-print | ||
09:50 20mTalk | CP-Detector: Using Configuration-related Performance Properties to Expose Performance Bugs Research Papers Haochen He National University of Defense Technology, Zhouyang Jia National University of Defense Technology, Shanshan Li National University of Defense Technology, China, Erci Xu National University of Defense Technology, Tingting Yu University of Kentucky, Yue Yu College of Computer, National University of Defense Technology, Changsha 410073, China, Ji Wang National University of Defense Technology, Liao Xiangke National University of Defense Technology, China DOI Pre-print |