We are excited to announce that a paper by S2 members and their colleagues has been accepted at International Conference on Software Engineering (ICSE) 2026, one of the premier conferences in software engineering research!
Title: Generating Energy-Efficient Code via Large-Language Models â Where are we now?
Authors: Radu Apsan, Vincenzo Stoico, Michel Albonico, Rudra Dhar, Karthik Vaidhyanathan, and Ivano Malavolta.
đ Read the paper here
đŦ Study Highlights
đ We measure the energy usage of Python code generated by LLMs compared to human-written code.
đ¤ We evaluate 363 solutions to 9 coding problems from the EvoEval benchmark using 6 LLMs with 4 prompting techniques, comparing them to human-developed solutions.
đģ The evaluation spans 3 hardware platforms: a server, a PC, and a Raspberry Pi â totaling over 36 days of experimentation.
đĄ Key Findings
-
đĸ Human expert code remains the most energy-efficient, outperforming all LLM-generated code by 17% to 30%.
-
đ¤ LLMs outperform average human developers on some platforms, but still lag behind green-expert solutions.
-
âī¸ Prompt engineering does not consistently improve energy efficiency.
-
đŠī¸ Human expertise is still crucial for developing energy-efficient Python code.
