{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,15]],"date-time":"2026-05-15T02:02:57Z","timestamp":1778810577302,"version":"3.51.4"},"reference-count":23,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2026,2,27]],"date-time":"2026-02-27T00:00:00Z","timestamp":1772150400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Big Data"],"abstract":"<jats:p>Improving software efficiency is crucial for maintenance, but pinpointing runtime bottlenecks becomes increasingly difficult as systems expand. Traditional dynamic profiling tools require full build-execution cycles, creating significant latency that impedes agile development. To address this, we introduce GFTrans, a static analysis framework that predicts c program performance without execution. GFTrans utilizes a Transformer architecture with a novel \u201canchor-based embedding\u201d technique to integrate control flow and data dependencies into a unified sequence. Additionally, a dynamic gating mechanism fuses these semantic representations with 16 handcrafted statistical features to comprehensively capture code complexity. Evaluated on a dataset of real-world GitHub c functions with high-precision runtime labels, GFTrans outperforms baseline models like Random Forest and Code2Vec, achieving 78.64% accuracy. The system identifies potential bottlenecks in milliseconds, enabling developers to perform optimization effectively during the coding phase.<\/jats:p>","DOI":"10.3389\/fdata.2026.1779935","type":"journal-article","created":{"date-parts":[[2026,2,27]],"date-time":"2026-02-27T05:24:53Z","timestamp":1772169893000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["GFTrans: an on-the-fly static analysis framework for code performance profiling"],"prefix":"10.3389","volume":"9","author":[{"given":"Jie","family":"Li","sequence":"first","affiliation":[{"name":"School of Artificial Intelligence, South China Normal University","place":["Foshan, China"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Yunbao","family":"Wen","sequence":"additional","affiliation":[{"name":"School of Artificial Intelligence, South China Normal University","place":["Foshan, China"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Jingxin","family":"Liu","sequence":"additional","affiliation":[{"name":"School of Mathematics and Physics Sciences, RI-IM\u00b7AI*, Chongqing University of Science and Technology","place":["Chongqing, China"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Biqing","family":"Zeng","sequence":"additional","affiliation":[{"name":"School of Artificial Intelligence, South China Normal University","place":["Foshan, China"]}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Seyedali","family":"Mirjalili","sequence":"additional","affiliation":[{"name":"Center for Artificial Intelligence Research and Optimization, Torrens University Australia","place":["Brisbane, QLD, Australia"]}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1965","published-online":{"date-parts":[[2026,2,27]]},"reference":[{"key":"B1","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3290353","article-title":"code2vec: learning distributed representations of code","volume":"3","author":"Alon","year":"2019","journal-title":"Proc. ACM Program. Lang"},{"key":"B2","doi-asserted-by":"publisher","first-page":"111347","DOI":"10.1016\/j.jss.2022.111347","article-title":"Factors affecting agile adoption: an industry research study of the mobile app sector in Saudi Arabia","volume":"190","author":"Altuwaijri","year":"2022","journal-title":"J. Syst. Softw"},{"key":"B3","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3637230","article-title":"Pace: a program analysis framework for continuous performance prediction","volume":"33","author":"Biringa","year":"2024","journal-title":"ACM Trans. Softw. Eng. Methodol"},{"key":"B4","first-page":"2244","article-title":"\u201cPrograml: a graph-based program representation for data flow analysis and compiler optimizations,\u201d","volume-title":"International Conference on Machine Learning","author":"Cummins","year":"2021"},{"key":"B5","doi-asserted-by":"publisher","first-page":"120","DOI":"10.1145\/872726.806987","article-title":"Gprof: a call graph execution profiler","volume":"17","author":"Graham","year":"1982","journal-title":"SIGPLAN Not"},{"key":"B6","doi-asserted-by":"crossref","DOI":"10.18653\/v1\/2022.acl-long.499","article-title":"\u201cUnixcoder: unified cross-modal pre-training for code representation,\u201d","volume-title":"Annual Meeting of the Association for Computational Linguistics","author":"Guo","year":"2022"},{"key":"B7","article-title":"Graphcodebert: Pre-training code representations with data flow","author":"Guo","year":"2020","journal-title":"arXiv [preprint]"},{"key":"B8","doi-asserted-by":"crossref","first-page":"1095","DOI":"10.1109\/ICSE.2019.00113","article-title":"\u201cDeepperf: performance prediction for configurable software with deep sparse neural network,\u201d","volume-title":"2019 IEEE\/ACM 41st International Conference on Software Engineering (ICSE)","author":"Ha","year":"2019"},{"key":"B9","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3725212","article-title":"Towards on-the-fly code performance profiling","volume":"35","author":"Hu","year":"2025","journal-title":"ACM Trans. Softw. Eng. Methodol"},{"key":"B10","article-title":"CATGNN: cost-efficient and scalable distributed training for graph neural networks","author":"Huang","year":"2024","journal-title":"arXiv [preprint]"},{"key":"B11","doi-asserted-by":"publisher","first-page":"1052","DOI":"10.1016\/j.chb.2015.10.036","article-title":"The impact of cost, technology acceptance and employees' satisfaction on the effectiveness of the electronic customer relationship management systems","volume":"55","author":"Jafari Navimipour","year":"2016","journal-title":"Comput. Human Behav"},{"key":"B12","doi-asserted-by":"publisher","first-page":"114","DOI":"10.1007\/s10664-021-09996-y","article-title":"Predicting unstable software benchmarks using static source code features","volume":"26","author":"Laaber","year":"2021","journal-title":"Empir. Softw. Eng"},{"key":"B13","first-page":"2242","article-title":"\u201cCapturing the long-distance dependency in the control flow graph via structural-guided attention for bug localization,\u201d","volume-title":"(IJCAI-23)","author":"Ma","year":"2023"},{"key":"B14","first-page":"4505","article-title":"\u201cIthemal: accurate, portable and fast basic block throughput estimation using deep neural networks,\u201d","volume-title":"International Conference on Machine Learning","author":"Mendis","year":"2019"},{"key":"B15","volume-title":"VTune Performance Analyzer Essentials, Volume 9","author":"Reinders","year":"2005"},{"key":"B16","doi-asserted-by":"crossref","DOI":"10.1145\/3382494.3410677","article-title":"\u201cPERF-AL: performance prediction for configurable software through adversarial learning,\u201d","volume-title":"Proceedings of the 14th ACM\/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM), ESEM '20","author":"Shu","year":"2020"},{"key":"B17","doi-asserted-by":"crossref","first-page":"313","DOI":"10.1007\/978-3-030-45439-5_21","article-title":"\u201cLearning based methods for code runtime complexity prediction,\u201d","volume-title":"Advances in Information Retrieval: 42nd European Conference on IR Research, ECIR 2020, Lisbon, Portugal, April 14\u201317, 2020, Proceedings, Part I","author":"Sikka","year":"2020"},{"key":"B18","article-title":"\u201cAttention is all you need,\u201d","author":"Vaswani","year":"2017","journal-title":"Advances in Neural Information Processing Systems, Vol. 30"},{"key":"B19","doi-asserted-by":"crossref","DOI":"10.18653\/v1\/2021.emnlp-main.685","article-title":"\u201cCodet5: identifier-aware unified pre-trained encoder-decoder models for code understanding and generation,\u201d","volume-title":"Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing","author":"Wang","year":"2021"},{"key":"B20","doi-asserted-by":"crossref","first-page":"1059","DOI":"10.1109\/ICSE43902.2021.00099","article-title":"\u201cWhite-box performance-influence models: a profiling and learning approach,\u201d","volume-title":"2021 IEEE\/ACM 43rd International Conference on Software Engineering (ICSE)","author":"Weber","year":"2021"},{"key":"B21","article-title":"\u201cTenset: a large-scale program performance dataset for learned tensor compilers,\u201d","author":"Zheng","year":"2021","journal-title":"Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round"},{"key":"B22","article-title":"\u201cDevign: effective vulnerability identification by learning comprehensive program semantics via graph neural networks,\u201d","volume-title":"Advances in Neural Information Processing System, 32","author":"Zhou","year":"2019"},{"key":"B23","doi-asserted-by":"publisher","first-page":"39301","DOI":"10.1038\/s41598-025-23029-4","article-title":"Code vulnerability detection based on augmented program dependency graph and optimized codebert","volume":"15","author":"Zou","year":"2025","journal-title":"Sci. Rep"}],"container-title":["Frontiers in Big Data"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fdata.2026.1779935\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,2,27]],"date-time":"2026-02-27T05:24:56Z","timestamp":1772169896000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fdata.2026.1779935\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,2,27]]},"references-count":23,"alternative-id":["10.3389\/fdata.2026.1779935"],"URL":"https:\/\/doi.org\/10.3389\/fdata.2026.1779935","relation":{},"ISSN":["2624-909X"],"issn-type":[{"value":"2624-909X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,2,27]]},"article-number":"1779935"}}