mlsanityData to 7 Oct 2026

TEP-GNN: Accurate Execution Time Prediction of Functional Tests using Graph Neural Networks

arXiv 2208.11947 ↗First posted 25 Aug 2022cs.SE cs.AIcited by 5

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

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
  3. 2015Gated Graph Sequence Neural Networkscited by 792
  4. 2018Meta-Learning: A Surveycited by 254
  5. 2017Learning to Represent Programs with Graphscited by 219
  6. 2019Graph Matching Networks for Learning the Similarity of Graph Structured Objectscited by 202
  7. 2020Detecting Code Clones with Graph Neural Networkand Flow-Augmented Abstract Syntax Treecited by 68
  8. 2018Generative Code Modeling with Graphscited by 59
  9. 2018Structured Neural Summarizationcited by 53
  10. 2020Sampling in Software Engineering Research: A Critical Review and Guidelinescited by 23
  11. 2018Reinforcement Learning for Automatic Test Case Prioritization and Selection in Continuous Integrationcited by 17
  12. 2018Convolutional Neural Networks over Control Flow Graphs for Software Defect Predictioncited by 8
3 more
  1. 2021An Efficient Procedure for Mining Egocentric Temporal Motifscited by 7
  2. 2014Patterns in the Chaos - a Study of Performance Variation and Predictability in Public IaaS Cloudscited by 4
  3. 2021Comparative Code Structure Analysis using Deep Learning for Performance Predictioncited by 3

Built on by

Cited by year

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

5 papers.