mlsanityData to 7 Oct 2026

DeepPERF: A Deep Learning-Based Approach For Improving Software Performance

arXiv 2206.13619 ↗First posted 27 Jun 2022cs.SE cs.AI cs.PFcited by 6

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

  1. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  2. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  3. 2020IntelliCode Compose: Code Generation Using Transformercited by 225
  4. 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 123
  5. 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
  6. 2018Automated Vulnerability Detection in Source Code Using Deep Representation Learningcited by 114
  7. 2020PyMT5: multi-mode translation of natural language and Python code with transformerscited by 80
  8. 2018Aroma: Code Recommendation via Structural Code Searchcited by 29
  9. 2021DeepDebug: Fixing Python Bugs Using Stack Traces, Backtranslation, and Code Skeletonscited by 17
  10. 2021Long-Range Modeling of Source Code Files with eWASH: Extended Window Access by Syntax Hierarchycited by 14
  11. 2016Learning a Static Analyzer from Datacited by 7

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 4; 2025: 1.

6 papers.