DeepPERF: A Deep Learning-Based Approach For Improving Software Performance
Not on the map. Why?
Abstract (arXiv)
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 DeepPERF, a transformer-based approach to suggest performance improvements for C# applications. We pretrain DeepPERF on English and Source code corpora and 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% of the cases, getting ~34% of them verbatim in our expert-verified dataset of performance changes made by C# developers. Additionally, we evaluate DeepPERF on 50 open source C# repositories on GitHub using both benchmark and unit tests and find that our model is able to suggest valid performance improvements that can improve both CPU usage and Memory allocations. So far we've submitted 19 pull-requests with 28 different performance optimizations and 11 of these PRs have been approved by the project owners.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 11 of its 34 references that are in the map. First posted on arXiv 27 Jun 2022.
Builds on
11 of 34 references.
References · 11
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2020IntelliCode Compose: Code Generation Using Transformercited by 225
- 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 123
- 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
- 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
- 2020PyMT5: multi-mode translation of natural language and Python code with transformerscited by 80
- 2018Aroma: Code Recommendation via Structural Code Searchcited by 29
- 2021DeepDebug: Fixing Python Bugs Using Stack Traces, Backtranslation, and Code Skeletonscited by 17
- 2021Long-Range Modeling of Source Code Files with eWASH: Extended Window Access by Syntax Hierarchycited by 14
- 2016Learning a Static Analyzer from Datacited by 7
Built on by
Citing papers per year: 2023: 1; 2024: 4; 2025: 1.
6 papers.
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 294
- 2023Learning Performance-Improving Code Editscited by 103
- 2024Mercury: A Code Efficiency Benchmark for Code Large Language Modelscited by 34
- 2024NoFunEval: Funny How Code LMs Falter on Requirements Beyond Functional Correctnesscited by 23
- 2024PerfCodeGen: Improving Performance of LLM Generated Code with Execution Feedbackcited by 22
- 2025EditLord: Learning Code Transformation Rules for Code Editingcited by 4
- 2025EditLord: Learning Code Transformation Rules for Code Editing10 Mar 2025
- 2024PerfCodeGen: Improving Performance of LLM Generated Code with Execution Feedback18 Nov 2024
- 2024Mercury: A Code Efficiency Benchmark for Code Large Language Models12 Feb 2024
- 2024NoFunEval: Funny How Code LMs Falter on Requirements Beyond Functional Correctness29 Jan 2024
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Execution5 Jan 2024
- 2023Learning Performance-Improving Code Edits15 Feb 2023