Skip to main navigation Skip to search Skip to main content

On the Energy Consumption of CPython

Research output: Conference Article in Proceeding or Book/Report chapterArticle in proceedingsResearchpeer-review

Abstract

Interpreted programming languages, like Python, are
amongst the most popular programming languages. This, combined with
high developer efficiency leads to many web-application backends and
web-services that are written in Python. While it is known that that
interpreted languages like Python are way less energy efficient compared
to compiled languages like C++, Rust, etc., little is known about the energy
efficiency of various versions of Python interpreters. In this paper, we
study via a controlled lab experiment the energy consumption of various
versions of the Python interpreter CPython when running a server-side
rendered web-application. Our results indicate that currently the most
energy efficient version is CPython 3.12. Energy consumption of CPython
3.12 can drop by more than 8% compared to previous versions.
Original languageEnglish
Title of host publicationQuality of Information and Communications Technology : 17th International Conference on the Quality of Information and Communications Technology, QUATIC 2024, Pisa, Italy, September 11–13, 2024, Proceedings
Volume2178
PublisherSpringer
Publication date11 Sept 2024
Pages194-209
ISBN (Print)978-3-031-70244-0
ISBN (Electronic)978-3-031-70245-7
DOIs
Publication statusPublished - 11 Sept 2024
EventInternational Conference on the Quality of Information and Communications Technology - Pisa, Italy
Duration: 11 Sept 202413 Sept 2024
Conference number: 17
https://2024.quatic.org/

Conference

ConferenceInternational Conference on the Quality of Information and Communications Technology
Number17
Country/TerritoryItaly
CityPisa
Period11/09/202413/09/2024
Internet address

Keywords

  • Software engineering
  • Energy consumptionython.
  • CPython

Cite this