高效检测 FaaS 应用发布中的性能变化
Efficiently Detecting Performance Changes in FaaS Application Releases
AI总结:
针对 FaaS 应用版本更新的性能回归检测,本文提出包装器方法以在 FaaS 中启用 RMIT,并结合自助百分位区间,将置信区间宽度由 10.65% 降至 0.37%。
摘要:
Function as a Service(FaaS,函数即服务)应用的源代码会不断得到改进。为检测源代码变更是否引入显著的性能回归,传统基准测试方法会使用大量人工请求分别评估旧版本和新版本函数。本文描述了一种包装器方法,它使 Randomized Multiple Interleaved Trials(RMIT,随机多重交错试验)基准执行方法能够用于 FaaS 环境,并采用自助法百分位区间来获得所检测性能变化的更准确置信区间。我们使用两个公共 FaaS 提供商、一个人工性能问题以及若干基准配置参数评估了该方法。我们得出结论:RMIT 可将结果中置信区间的宽度从传统方法的 10.65% 缩小至使用 RMIT 时的 0.37%,从而实现更细粒度的性能变化检测。
英文摘要:
The source code of Function as a Service (FaaS) applications is constantly being refined. To detect if a source code change introduces a significant performance regression, the traditional benchmarking approach evaluates both the old and new function version separately using numerous artificial requests. In this paper, we describe a wrapper approach that enables the Randomized Multiple Interleaved Trials (RMIT) benchmark execution methodology in FaaS environments and use bootstrapping percentile intervals to derive more accurate confidence intervals of detected performance changes. We evaluate our approach using two public FaaS providers, an artificial performance issue, and several benchmark configuration parameters. We conclude that RMIT can shrink the width of confidence intervals in the results from 10.65% using the traditional approach to 0.37% using RMIT and thus enables a more fine-grained performance change detection.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。