CP-Detector: Using Configuration-related Performance Properties to Expose Performance Bugs
Abstract
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 (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.
BibTeX
@inproceedings{He-al:ASE20,
author = {Haochen He and
Zhouyang Jia and
Shanshan Li and
Erci Xu and
Tingting Yu and
Yue Yu and
Ji Wang and
Xiangke Liao},
title = {{CP-Detector:} Using Configuration-related Performance Properties to Expose Performance Bugs},
booktitle = {ASE},
pages = {623--634},
publisher = {{IEEE}},
year = {2020},
}