Comparative Code Structure Analysis using Deep Learning for Performance Prediction
Nathan Pinnow, Tarek Ramadan, Tanzima Z. Islam, Chase Phelps,, Jayaraman J. Thiagarajan

TL;DR
This paper explores using deep learning on abstract syntax trees to predict application performance changes based solely on static code structure, providing a new approach to performance-aware development.
Contribution
It introduces a large labeled dataset and demonstrates that tree-based LSTM models can effectively predict performance changes from static code features.
Findings
Tree-based LSTM models achieve up to 84% accuracy in performance prediction.
Static code structure alone can be used to predict performance changes.
The approach enables continuous performance-aware development.
Abstract
Performance analysis has always been an afterthought during the application development process, focusing on application correctness first. The learning curve of the existing static and dynamic analysis tools are steep, which requires understanding low-level details to interpret the findings for actionable optimizations. Additionally, application performance is a function of an infinite number of unknowns stemming from the application-, runtime-, and interactions between the OS and underlying hardware, making it difficult, if not impossible, to model using any deep learning technique, especially without a large labeled dataset. In this paper, we address both of these problems by presenting a large corpus of a labeled dataset for the community and take a comparative analysis approach to mitigate all unknowns except their source code differences between different correct implementations…
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 · Advanced Malware Detection Techniques
