DeepDev-PERF: a deep learning-based approach for improving software performance
Spandan Garg, Roshanak Zilouchian Moghaddam, Colin B. Clement et al. · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · 2022
Improving software performance is an important yet challenging part of the software development cycle. Today, the majority of performance inefficiencies are identified and patched by performance experts. Recent advancements in deep learning approaches and the wide-spread availability of open-source data creates a great opportunity to automate the identification and patching of performance problems. In this paper, we present DeepDev-PERF, a transformer-based approach to suggest performance improvements for C# applications. We pretrain DeepDev-PERF on English and Source code corpora, followed by finetuning for the task of generating performance improvement patches for C# applications. Our evaluation shows that our model can generate the same performance improvement suggestion as the developer fix in 53
Cited by 23 works. doi:10.1145/3540250.3549096
Authors
References
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension
- GenProg: A Generic Method for Automatic Software Repair
- ITS4: a static vulnerability scanner for C and C++ code
- Automated Vulnerability Detection in Source Code Using Deep Representation Learning
- IntelliCode compose: code generation using transformer
- Automatic patch generation by learning correct code
- DeepFix: Fixing Common C Language Errors by Deep Learning
- The adverse effects of code duplication in machine learning models of code
- PyMT5: multi-mode translation of natural language and Python code with transformers
- CodeBLEU: a Method for Automatic Evaluation of Code Synthesis