arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.18377cs.SE
收藏

探索统计变点检测技术在 Mozilla 性能异常检测中的应用

Exploring Statistical Change Point Detection Techniques for Performance Anomaly Detection at Mozilla

Concordia University(康考迪亚大学);Mozilla;Chalmers University of Technology and the University of Gothenburg(查尔姆斯理工大学和哥德堡大学);Eindhoven University of Technology(埃因霍温理工大学)

Mohamed Bilel Besbes, Gregory Mierzwinski, Suhaib Mujahid, Philipp Leitner, Alexander Serebrenik, Dave Hunt, Diego Elias Costa

AI总结:

本文针对 Mozilla 性能异常检测中高误报和漏报问题,评估了 25 种变点检测方法和 15 种集成方法,基于人工标注的真实数据集发现集成投票策略在 F1 分数上提升 11%,并已集成到 Mozilla 系统。

摘要:

软件性能回归可能带来严重的业务后果,因此自动检测成为现代持续集成流水线的关键组成部分。在 Mozilla,性能异常检测由 Perfherder 处理,这是 Mozilla 的性能工程管理系统,它基于 Student's T 检验方法在每天数百次代码变更中标记回归。然而,我们对 Mozilla 一年性能数据的初步分析显示,12.5% 生成的警报组是误报,而约 6.8% 的警报组包含自动系统遗漏的回归。本文提出了一项实证研究,评估了 25 种变点检测(CPD)方法和 15 种集成方法作为 Mozilla 当前方法的替代方案。我们构建了一个包含 174 个性能时间序列的真实数据集,由 11 位 Mozilla 性能工程师手动标注,代表了性能工程领域首批从业者标注的 CPD 基准之一。我们的结果表明,虽然离线和混合 CPD 方法比 Mozilla 方法提高了召回率,但代价是精度大幅降低。集成投票策略缓解了这种权衡,并提供了更一致的性能,使 F1 分数提高了 11%。我们通过从业者调查验证了实验结果,并报告了将最佳方法集成到 Mozilla 性能工程系统中的经验教训。

英文摘要:

Software performance regressions can have significant business consequences, making automated detection a critical component of modern continuous integration pipelines. At Mozilla, performance anomaly detection is handled by Perfherder, Mozilla's performance engineering management system that relies on a Student's T-test-based approach to flag regressions across hundreds of daily code changes. However, our preliminary analysis of one year of Mozilla performance data reveals that 12.5% of generated alert groups are false positives, while approximately 6.8% of them contain regressions missed by the automated system. This paper presents an empirical study evaluating 25 change-point detection (CPD) methods and 15 ensemble approaches as alternatives to Mozilla's current method. We construct a ground-truth dataset of 174 performance time series manually annotated by eleven Mozilla performance engineers, representing one of the first practitioner-annotated CPD benchmarks for performance engineering. Our results show that while offline and hybrid CPD methods improve recall over Mozilla's method, they do so at a high cost to precision. Ensemble voting strategies alleviate this trade-off and offer more consistent performance, resulting in 11% improvement in the F1-score. We validate the experimental results through a practitioner survey and report on lessons learned from integrating the best methods into Mozilla's performance engineering system.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑