Analyzing Correctness, Memory Consumption, CPU Usage, and Execution Time of the LLMs Llama-3.3-70B Versatile and Gemma2-9B Instruct
Revista de Informática Teórica e Aplicada · 21.06.2026 · 33 (3) · 90-108
DOI: 10.22456/2175-2745.153834 ↗Kurz gefasst
Fachartikel in der Zeitschrift Revista de Informática Teórica e Aplicada, online erschienen am 21.06.2026. Verfasst von Rodrigo Andrade und 1 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-NC 4.0).
Abstract (Originalsprache)
Although the rapid advancement of Large Language Models (LLMs) has significantly transformed software development, enabling the automation of tasks such as code generation, testing, and documentation, concerns remain regarding the quality, efficiency, and security of automatically generated solutions, especially in relation to computational resource usage such as memory, CPU, and execution time. This scenario is intensified by the growing demand for digital sustainability and the need to minimize operational costs. This work investigates the efficiency and correctness of code generated by the LLMs Llama-3.3-70B Versatile and Gemma2-9B Instruct when solving Rosetta Code tasks in Python, comparing them with human implementations. The analyses address multiple aspects, including code correctness, clarity, memory consumption, CPU usage, and execution time, thus revealing the limitations and strengths of automatic solutions compared to human-developed code. The results suggest that, although LLMs are capable of quickly generating functional solutions, they still lack the algorithmic optimizations necessary to match the efficiency of manually written code, particularly regarding resource utilization. However, for routine or well-known tasks, automatic solutions can be highly competitive. This study highlights the importance of multidimensional evaluations and demonstrates that, if combined with human review and good engineering practices, the careful adoption of LLMs can enhance software development processes.
Zitieren
APA
Andrade, R., & Lima, J. (2026). Analyzing Correctness, Memory Consumption, CPU Usage, and Execution Time of the LLMs Llama-3.3-70B Versatile and Gemma2-9B Instruct. Revista de Informática Teórica e Aplicada, 33(3), 90-108. https://doi.org/10.22456/2175-2745.153834
Vancouver
Andrade R, Lima J. Analyzing Correctness, Memory Consumption, CPU Usage, and Execution Time of the LLMs Llama-3.3-70B Versatile and Gemma2-9B Instruct. Revista de Informática Teórica e Aplicada. 2026;33(3):90-108. doi:10.22456/2175-2745.153834
BibTeX
@article{Andrade2026,
author = {Andrade, Rodrigo and Lima, Jackson},
title = {Analyzing Correctness, Memory Consumption, CPU Usage, and Execution Time of the LLMs Llama-3.3-70B Versatile and Gemma2-9B Instruct},
journal = {Revista de Informática Teórica e Aplicada},
year = {2026},
volume = {33},
number = {3},
pages = {90--108},
doi = {10.22456/2175-2745.153834}
}
EUVIMED