一句话:提出将配置调优作为性能缺陷检测的通用测试预言,并分析配置相关性能缺陷。
性能缺陷由于通常不会导致程序失败停止,难以被检测;现有调试技术只能发现具有已知模式的性能问题(如低效循环),其关键瓶颈在于缺少通用的测试预言。本文主张配置调优可以成为性能缺陷检测的强候选方案。其依据有两点:已有工作表明大多数性能缺陷与配置相关;调优过程反映了用户对性能变化的预期。如果调优后的实际性能表现与用户直觉不符,那么相关代码段很可能存在问题。论文据此提出理解与检测配置相关性能缺陷的思路,但摘要未给出具体实现细节与实验评估结果。
Performance bugs (PBugs) are often hard to detect due to their non fail-stop symptoms. Existing debugging techniques can only detect PBugs 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 configuration tuning can serve as a strong candidate for PBugs detection. First, prior work shows that most performance bugs are related to configurations. Second, the tuning reflects users’ expectation of performance changes. If the actual performance behaves differently from the users’ intuition, the related code segment is likely to be problematic.
DOI 原文 ·
@inproceedings{paperbot5034,
title = {Tuning backfired? not (always) your fault: understanding and detecting configuration-related performance bugs},
author = {Haochen He},
booktitle = {FSE},
year = {2019},
doi = {10.1145/3338906.3342498}
}