Conference paper · 2024 · Open access
On Evaluating the Efficiency of Source Code Generated by LLMs
IEEE/ACM International Conference on AI Foundation Models and Software Engineering (FORGE), 103–107 · Published 14 April 2024 · DOI 10.1145/3650105.3652295
In brief
“On Evaluating the Efficiency of Source Code Generated by LLMs” is a 2024 conference paper by Changan Niu and 4 co-authors, published in IEEE/ACM International Conference on AI Foundation Models and Software Engineering (FORGE). OpenAlex counts 68 citations as of 19 November 2026. It is open access: the full text is free to read at IEEE/ACM International Conference on AI Foundation Models and Software Engineering (FORGE).
- Citations
- 68
- Most cited in
- 2025 (28)
- Field-weighted impact
- 11.31
- References
- 16
- Authors
- 5
Abstract
Recent years have seen the remarkable capabilities of large language models (LLMs) for code generation. Different from existing work that evaluate the correctness of the code generated by LLMs, we propose to further evaluate its efficiency. More efficient code can lead to higher performance and execution efficiency of programs and software completed by LLM-assisted programming. First, we evaluate the efficiency of the code generated by LLMs on two benchmarks, HumanEval and MBPP. Then, we choose a set of programming problems from the online judge platform LeetCode to conduct a more difficult evaluation. Finally, we explore several prompts that would enable LLMs to generate more efficient code.
Cite this paper
Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.
APA 7
Niu, C., Zhang, T., Li, C., Luo, B., & Ng, V. (2024). On Evaluating the Efficiency of Source Code Generated by LLMs. IEEE/ACM International Conference on AI Foundation Models and Software Engineering (FORGE), 103–107. https://doi.org/10.1145/3650105.3652295
MLA 9
Niu, Changan, et al. “On Evaluating the Efficiency of Source Code Generated by LLMs.” IEEE/ACM International Conference on AI Foundation Models and Software Engineering (FORGE), 2024, pp. 103–107. https://doi.org/10.1145/3650105.3652295.
Chicago
Niu, Changan, Ting Zhang, Chuanyi Li, Bin Luo, and Vincent Ng. 2024. “On Evaluating the Efficiency of Source Code Generated by LLMs.” IEEE/ACM International Conference on AI Foundation Models and Software Engineering (FORGE): 103–107. https://doi.org/10.1145/3650105.3652295.
Harvard
Niu, C. et al. (2024) ‘On Evaluating the Efficiency of Source Code Generated by LLMs’, IEEE/ACM International Conference on AI Foundation Models and Software Engineering (FORGE), pp. 103–107. doi:10.1145/3650105.3652295.
IEEE
C. Niu, T. Zhang, C. Li, B. Luo, and V. Ng, “On Evaluating the Efficiency of Source Code Generated by LLMs,” IEEE/ACM International Conference on AI Foundation Models and Software Engineering (FORGE), pp. 103–107, 2024, doi: 10.1145/3650105.3652295.
BibTeX
@inproceedings{niu2024evaluating,
title = {{On Evaluating the Efficiency of Source Code Generated by LLMs}},
author = {Niu, Changan and Zhang, Ting and Li, Chuanyi and Luo, Bin and Ng, Vincent},
booktitle = {IEEE/ACM International Conference on AI Foundation Models and Software Engineering (FORGE)},
year = {2024},
pages = {103--107},
doi = {10.1145/3650105.3652295},
url = {https://doi.org/10.1145/3650105.3652295}
}
Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)
Citations by year
| Year | Citations | Share of the best year |
|---|---|---|
| 2023 | 1 | |
| 2024 | 12 | |
| 2025 | 28 | |
| 2026 | 27 |
Its field-weighted citation impact is 11.31: it has been cited 11.31 times as often as the average work of the same field, type and year (1.00 is the world average).
Topic and keywords
Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- large language models
- code generation
- code efficiency
- LLM-assisted programming
- execution efficiency
- prompt engineering
- HumanEval
- MBPP
Work with this paper
Most-cited papers in Computer Science
- ImageNet classification with deep convolutional neural networksAlex Krizhevsky, Ilya Sutskever, Geoffrey E. Hinton · Communications of the ACM · 2017 · 114,726 citations
- Long Short-Term MemorySepp Hochreiter, Jürgen Schmidhuber · Neural Computation · 1997 · 109,097 citations
- A Mathematical Theory of CommunicationClaude E. Shannon · Bell System Technical Journal · 1948 · 91,736 citations
- Deep learningYann LeCun, Yoshua Bengio, Geoffrey E. Hinton · Nature · 2015 · 90,226 citations
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksShaoqing Ren, Kaiming He, Ross Girshick and 1 more · IEEE Transactions on Pattern Analysis and Machine Intelligence · 2016 · 74,143 citations
Questions about this paper
How do I cite this paper in APA style?
Niu, C., Zhang, T., Li, C., Luo, B., & Ng, V. (2024). On Evaluating the Efficiency of Source Code Generated by LLMs. IEEE/ACM International Conference on AI Foundation Models and Software Engineering (FORGE), 103–107. https://doi.org/10.1145/3650105.3652295
How many times has this paper been cited?
68 times, according to OpenAlex on 19 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.
Is this paper free to read?
Yes. It is open access at IEEE/ACM International Conference on AI Foundation Models and Software Engineering (FORGE): sign in and open the PDF from this page.
Who wrote this paper?
Changan Niu, Ting Zhang, Chuanyi Li, Bin Luo, Vincent Ng.
What is the DOI of this paper?
10.1145/3650105.3652295, permanently at https://doi.org/10.1145/3650105.3652295. Sign in and open it from this page.
Bibliographic data from OpenAlex (CC0), last checked 19 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.