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

IDE中交互式静态软件性能分析

Interactive Static Software Performance Analysis in the IDE

Aaron Beigelbeck, Maurício Aniche, Jürgen Cito

摘要:

在开发过程中检测由于次优代码导致的性能问题可能是一项艰巨的任务,特别是在部署后注意到性能下降后进行本地化时。静态分析有可能为开发人员提供有关性能问题的早期反馈,而不必运行具有昂贵(且通常不可用)性能测试的分析器。我们开发了一个VSCode工具,它通过代码注释和装饰(在上下文中显示复杂性分析结果)以及显示细节和概述的侧面板视图(使结果具有可解释性)集成了来自Infer的静态性能分析结果。此外,我们设计的系统具有交互性,以便在发生代码更改时能够更好地响应。我们通过测量静态性能分析集成在开发工作流中引入的开销来评估我们的工具的有效性。此外,我们报告了一个案例研究,说明了我们的系统如何在ElasticSearch开源项目中的一个真实性能错误的背景下用于推理软件性能。演示视频:https://www.youtube.com/watch? v=-GqPb_YZMOs存储库:https://github.com/ipa-lab/vscode-infer-performance

英文摘要:

Detecting performance issues due to suboptimal code during the development process can be a daunting task, especially when it comes to localizing them after noticing performance degradation after deployment. Static analysis has the potential to provide early feedback on performance problems to developers without having to run profilers with expensive (and often unavailable) performance tests. We develop a VSCode tool that integrates the static performance analysis results from Infer via code annotations and decorations (surfacing complexity analysis results in context) and side panel views showing details and overviews (enabling explainability of the results). Additionally, we design our system for interactivity to allow for more responsiveness to code changes as they happen. We evaluate the efficacy of our tool by measuring the overhead that the static performance analysis integration introduces in the development workflow. Further, we report on a case study that illustrates how our system can be used to reason about software performance in the context of a real performance bug in the ElasticSearch open-source project. Demo video: https://www.youtube.com/watch?v=-GqPb_YZMOs Repository: https://github.com/ipa-lab/vscode-infer-performance

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

↑