paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Discovering Performance Archetypes: Critical-Path-Aware Pattern Analysis and Regression Detection

发现性能原型:关键路径感知的模式分析与回归检测
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026匹配度 3/10 · 论文属于性能分析与回归检测,结合静态代码特征、动态执行轨迹和内核资源数据进行关键路径感知分析,但与用户核心方向(LLM/Agent 与静态分析交叉、浮点程序分析、贝叶斯程序分析)几乎无直接交集。它可作为通用程序分析/性能回归邻域工作参考,但并非正中研究方向。引用 0 inbox
Kaveh Shahedi, Heng Li, Maxime Lamothe, Foutse Khomh
crossref: 2026-10-09

AI 速览

一句话:提出关键路径感知的多信号性能分析方法,发现13种跨应用性能原型,并用于回归检测。

仅靠静态代码结构难以刻画由执行频率、资源竞争和 I/O 模式塑造的运行时性能,作者先实证发现静态复杂度指标仅解释关键路径执行时间方差的 10.4%。为此提出关键路径感知的性能分析方法,融合静态代码特征、动态执行轨迹与内核级资源数据,在 SQLite、OpenSSL、Zstandard、FFmpeg、cURL、jq 六个 C/C++ 应用上分析近 8 万条关键执行路径,自动发现 13 种可跨应用复现的性能原型。其中 5 种近乎通用,3 种出现在全部六个应用中,常见原型覆盖 56.4% 的路径,并对应可迁移的资源配置与优化策略。基于这些原型构建的多信号回归检测框架综合路径结构、资源消耗与原型偏差,F1 达 0.867,较仅用资源的方法提升 60.4%。

问题
静态代码结构无法充分捕捉运行时行为,静态复杂度指标对关键路径执行时间的解释力有限,性能分析与回归检测需要整合多种信号。
方法
提出关键路径感知的性能分析流程,融合静态代码特征、动态执行轨迹和内核级资源数据,自动发现跨应用的性能原型,并基于原型偏差构建多信号回归检测框架。
评估
在六个真实 C/C++ 应用上分析近 8 万条关键执行路径,发现 13 种性能原型;回归检测达到 F1 0.867,较仅用资源的方法提升 60.4%。
原文摘要(Abstract)

Software performance analysis and prediction requires integrating multiple signals, as code structure alone cannot capture runtime behavior shaped by execution frequency, resource contention, and I/O patterns. We present a critical-path-aware performance analysis methodology that automatically discovers recurring performance patterns by synthesizing static code features, dynamic execution traces, and kernel-level resource data. In a preliminary study across six real-world C/C++ applications (SQLite, OpenSSL, Zstandard, FFmpeg, cURL, and jq), we first empirically confirm that static complexity metrics explain only 10.4% of the variance (ρ2) in critical path execution time, quantifying a gap that, while theoretically expected, had not been measured systematically across applications. Motivated by this finding, we analyze nearly 80,000 critical execution paths and address two research questions. First, we discover 13 distinct performance archetypes: recurring behavioral patterns that appear consistently across different applications, independent of their domain or implementation. Five of these patterns are near-universal and appear in at least five of the six applications studied. Notably, three of these archetypes are present in all six applications, and together, these common patterns account for 56.4% of all observed paths. Each archetype maps to specific resource profiles and optimization strategies that transfer across domains. Second, we leverage these archetypes within a multi-signal regression detection framework that triangulates path structure, resource consumption, and archetype deviations, achieving an F1-score of 0.867 and a 60.4% improvement over resource-only methods.

链接与引用

DOI 原文 · arXiv ·

BibTeX
@inproceedings{paperbot12368,
  title = {Discovering Performance Archetypes: Critical-Path-Aware Pattern Analysis and Regression Detection},
  author = {Kaveh Shahedi and Heng Li and Maxime Lamothe and Foutse Khomh},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3834426}
}