Interactive Static Software Performance Analysis in the IDE

Aaron Beigelbeck, Maurício Aniche, Jürgen Cito
5/4/2021
cs.SE

Official code: ipa-lab/vscode-infer-performance (6 stars, TypeScript, last commit 2021-06-21).

Abstract

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.

Show full abstract

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

View on arXivView PDF

Code Implementations(1)

60TypeScript, CSSNov 21, 20205 years ago

Similar Papers

Cite this paper

@article{beigelbeck2021interactive,
  title  = {Interactive Static Software Performance Analysis in the IDE},
  author = {Aaron Beigelbeck and Maurício Aniche and Jürgen Cito},
  year   = {2021},
  eprint = {2105.02023},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.02023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.02023.svg)](https://codeofpaper.com/paper/2105.02023)

Discussion