首页> 外文期刊>Software Testing, Verification and Reliability >Localizing software performance regressions in web applications by comparing execution timelines
【24h】

Localizing software performance regressions in web applications by comparing execution timelines

机译:通过比较执行时间表本地化Web应用程序中的软件性能回归

获取原文
获取原文并翻译 | 示例

摘要

A performance regression in software is defined as an increase in an application step's response time as a result of code changes. Detecting such regressions can be done using profiling tools; however,investigatingtheir root cause is a mostly-manual and time-consuming task. This statement holds true especially when comparingexecution timelines, which are dynamic function call trees augmented with response time data; these timelines are compared to find theperformance regression-causes- the lowest-level function calls that regressed during execution. When done manually, these comparisons often require the investigator to analyze thousands of function call nodes. Further, performing these comparisons onweb applicationsis challenging due to JavaScript's asynchronous and event-driven model, which introduce noise in the timelines. In response, we propose a design -Zam - that automatically compares execution timelines collected from web applications, to identify performance regression-causes. Our approach uses a hybrid node matching algorithm that recursively attempts to find the longest common subsequence in each call tree level, then aggregates multiple comparisons' results to eliminate noise. Our evaluation ofZamon 10 web applications indicates that it can identify performance regression-causes with a path recall of 100% and a path precision of 96%, while performing comparisons in under a minute on average. We also demonstrate the real-world applicability ofZam, which has been used to successfully complete performance investigations by the performance and reliability team in SAP.
机译:由于代码更改,软件中的性能回归被定义为应用程序步骤响应时间的增加。检测此类回归可以使用分析工具进行;但是,调查的人根源是一个大多数手动和耗时的任务。此语句尤其适用于比较时的比较时间表,这是动态函数调用树的响应时间数据增强;将这些时间表进行比较,以找到可行性回归 - 原因 - 在执行期间回归的最低级别函数调用。手动完成后,这些比较通常需要调查人员分析数千个函数呼叫节点。此外,由于JavaScript的异步和事件驱动的模型,在WeB应用程序上进行了挑战的这些比较,这在时间表中引入了噪声。作为响应,我们提出了一个设计--zam - 自动比较从Web应用程序收集的执行时间表,以识别性能回归原因。我们的方法使用混合节点匹配算法递归地尝试在每个呼叫树级别找到最长的常见子序列,然后聚合多个比较'结果以消除噪声。我们的评估Zamon 10 Web应用程序表示它可以识别出现10%的路径召回的性能回忆导致96%的路径精度,同时平均在一分钟内进行比较。我们还展示了Zam的现实世界适用性,已被用来通过SAP的性能和可靠性团队成功完成性能调查。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号