TEP-GNN: Accurate Execution Time Prediction of Functional Tests using Graph Neural Networks
Not on the map. Why?
Abstract (arXiv)
Predicting the performance of production code prior to actually executing or benchmarking it is known to be highly challenging. In this paper, we propose a predictive model, dubbed TEP-GNN, which demonstrates that high-accuracy performance prediction is possible for the special case of predicting unit test execution times. TEP-GNN uses FA-ASTs, or flow-augmented ASTs, as a graph-based code representation approach, and predicts test execution times using a powerful graph neural network (GNN) deep learning model. We evaluate TEP-GNN using four real-life Java open source programs, based on 922 test files mined from the projects' public repositories. We find that our approach achieves a high Pearson correlation of 0.789, considerable outperforming a baseline deep learning model. However, we also find that more work is needed for trained models to generalize to unseen projects. Our work demonstrates that FA-ASTs and GNNs are a feasible approach for predicting absolute performance values, and serves as an important intermediary step towards being able to predict the performance of arbitrary code prior to execution.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 15 of its 36 references that are in the map. First posted on arXiv 25 Aug 2022.
Builds on
15 of 36 references.
References · 15
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
- 2015Gated Graph Sequence Neural Networkscited by 792
- 2018Meta-Learning: A Surveycited by 254
- 2017Learning to Represent Programs with Graphscited by 219
- 2019Graph Matching Networks for Learning the Similarity of Graph Structured Objectscited by 202
- 2020Detecting Code Clones with Graph Neural Networkand Flow-Augmented Abstract Syntax Treecited by 68
- 2018Generative Code Modeling with Graphscited by 59
- 2018Structured Neural Summarizationcited by 53
- 2020Sampling in Software Engineering Research: A Critical Review and Guidelinescited by 23
- 2018Reinforcement Learning for Automatic Test Case Prioritization and Selection in Continuous Integrationcited by 17
- 2018Convolutional Neural Networks over Control Flow Graphs for Software Defect Predictioncited by 8
Built on by
Citing papers per year: 2023: 3; 2024: 1; 2025: 1.
5 papers.
- 2023Meta-Path Learning for Multi-relational Graph Neural Networkscited by 10
- 2023A Unified Active Learning Framework for Annotating Graph Data with Application to Software Source Code Performance Predictioncited by 4
- 2023Reducing Computational Costs in Sentiment Analysis: Tensorized Recurrent Networks vs. Recurrent Networkscited by 0
- 2024Analysing the Behaviour of Tree-Based Neural Networks in Regression Taskscited by 0
- 2025A Benchmark Dataset for Graph Regression with Homogeneous and Multi-Relational Variantscited by 0
- 2025A Benchmark Dataset for Graph Regression with Homogeneous and Multi-Relational Variants29 May 2025
- 2024Analysing the Behaviour of Tree-Based Neural Networks in Regression Tasks17 Jun 2024
- 2023Meta-Path Learning for Multi-relational Graph Neural Networks29 Sep 2023
- 2023Reducing Computational Costs in Sentiment Analysis: Tensorized Recurrent Networks vs. Recurrent Networks16 Jun 2023
- 2023A Unified Active Learning Framework for Annotating Graph Data with Application to Software Source Code Performance Prediction6 Apr 2023