Learning to Learn to Predict Performance Regressions in Production at Meta
Moritz Beller, Hongyu Li, Vivek Nair, Vijayaraghavan Murali, Imad, Ahmad, J\"urgen Cito, Drew Carlson, Ari Aye, Wes Dyer

TL;DR
This paper presents Meta's experience with developing and deploying a machine learning pipeline to predict performance regressions caused by code changes, highlighting the challenges, model comparisons, and practical deployment benefits.
Contribution
It introduces SuperPerforator, a bespoke Transformer-based model, and demonstrates its effectiveness as a pre-filter to reduce regression search space in production environments.
Findings
Transformer-based models had limited performance for this task.
SuperPerforator effectively reduces search space by up to 43%.
Counterfactual explanations validate model focus areas.
Abstract
Catching and attributing code change-induced performance regressions in production is hard; predicting them beforehand, even harder. A primer on automatically learning to predict performance regressions in software, this article gives an account of the experiences we gained when researching and deploying an ML-based regression prediction pipeline at Meta. In this paper, we report on a comparative study with four ML models of increasing complexity, from (1) code-opaque, over (2) Bag of Words, (3) off-the-shelve Transformer-based, to (4) a bespoke Transformer-based model, coined SuperPerforator. Our investigation shows the inherent difficulty of the performance prediction problem, which is characterized by a large imbalance of benign onto regressing changes. Our results also call into question the general applicability of Transformer-based architectures for performance prediction: an…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software System Performance and Reliability · Software Testing and Debugging Techniques
