Skip to search boxSkip to navigationSkip to main content

On the Energy Consumption of CPython

Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-review

Open access

Publication Information

Output type

Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-review

Host publication Subtitle

17th International Conference on the Quality of Information and Communications Technology, QUATIC 2024, Pisa, Italy, September 11–13, 2024, Proceedings

Original language

English

Pages from-to (Number of pages)

Pages 194-209

Publication milestones

  • Published - 11/09/2024

Publication status

Published - 11/09/2024

Volume

2178

Publisher

Springer, United States, Germany
978-3-031-70244-0

ISBN (Electronic)

978-3-031-70245-7

Publication IDs

  • Scopus: 85204620883

Host publication title

Quality of Information and Communications Technology

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.

Publication metrics

PlumX, opens in new tab

Citations
3
Captures
6

Related Event

Title

International Conference on the Quality of Information and Communications Technology

Event type

Conference

Degree of recognition

International event

Date

11/09/2024 - 13/09/2024

Location

PisaItaly