PerfLens: a data-driven performance bug detection and fix platform
Spandan Garg, Roshanak Zilouchian Moghaddam, Neel Sundaresan et al. · 2021
The wealth of open-source software development artifacts available online creates a great opportunity to learn the patterns of performance improvements from data. In this paper, we present a data-driven approach to software performance improvement in C#. We first compile a large dataset of hundreds of performance improvements made in open source projects. We then leverage this data to build a tool called PerfLens for performance improvement recommendations via code search. PerfLens indexes the performance improvements, takes a codebase as an input and searches a pool of performance improvements for similar code. We show that when our system is further augmented with profiler data information our recommendations are more accurate. Our experiments show that PerfLens can suggest performance improvements with 90% accuracy when profiler data is available and 55% accuracy when it analyzes source code only.
Cited by 3 works. doi:10.1145/3460946.3464318
Authors
References
- ATOM
- Foundations of statistical natural language processing
- A Manually-Curated Dataset of Fixes to Vulnerabilities of Open-Source Software
- A scalable technique for characterizing the usage of temporaries in framework-intensive Java applications
- Detecting performance anti-patterns for applications developed using object-relational mapping
- Go with the flow
- Finding low-utility data structures
- Aroma: code recommendation via structural code search
- Detecting inefficiently-used containers to avoid bloat
- Statistical debugging for real-world performance problems