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. 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
Original language | English |
---|---|
Title of host publication | Proceedings - 2021 IEEE/ACM 29th International Conference on Program Comprehension, ICPC 2021 |
Editors | L. O'Conner |
Place of Publication | Piscataway |
Publisher | IEEE |
Pages | 490-494 |
Number of pages | 5 |
ISBN (Electronic) | 978-1-6654-1403-6 |
ISBN (Print) | 978-1-6654-1404-3 |
DOIs | |
Publication status | Published - 2021 |
Event | 2021 IEEE/ACM 29th International Conference on Program Comprehension (ICPC) - Virtual at Madrid, Spain Duration: 20 May 2021 → 21 May 2021 Conference number: 29th |
Publication series
Name | IEEE International Conference on Program Comprehension |
---|---|
Volume | 2021-May |
Conference
Conference | 2021 IEEE/ACM 29th International Conference on Program Comprehension (ICPC) |
---|---|
Country/Territory | Spain |
City | Virtual at Madrid |
Period | 20/05/21 → 21/05/21 |
Bibliographical note
Accepted author manuscriptKeywords
- IDE integration
- software performance
- static analysis