Abstract
dc:description.abstractRecent advances in AI have created new prospects for improving software development, particularly through the usage of Large Language Models (LLMs) for code generation. The increasing integration of code generation models into software development has heightened the need to evaluate not only the correctness but also the efficiency and sustainability of AI-generated code. More efficient code can significantly enhance the performance and execution efficiency of software developed using LLM-assisted programming. In this work, we investigate the energy efficiency of code generated by several well-known LLMs. We use EFFIBENCH dataset containing 1000 LeetCode problems with the most efficient solutions known as canonical solutions. Our research aims to determine which models provide not only functionally correct but also energy-efficient code, thus contributing to more sustainable software development processes. We perform the analysis using perf to report the energy consumption in Joules. The results of this study can be used in the development of novel code generation and refactoring techniques to improve the overall energy efficiency of the code generated by LLMs.
Degree
thesis:*- Grantor dc:publisher
- State University of New York at Buffalo
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Jonnala, Devi Varaprasad Reddy
- Contributors dc:contributor
-
- Kosar, Tevfik
- Computer Science and Engineering
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions.
- Language dc:language
- eng
Identifiers
dc:identifier.*- Handle dc:identifier
- http://hdl.handle.net/10477/90336