On the Energy Consumption of CPython
Publikation:
Konference artikel i Proceeding eller bog/rapport kapitel
Konferencebidrag i proceedings
Forskning
Peer-reviewOpen Access
Resume
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.
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.
Publikation information
Produktionstype
Publikation:
Konference artikel i Proceeding eller bog/rapport kapitel
Konferencebidrag i proceedings
Forskning
Peer-reviewUndertitel på værtspublikation
17th International Conference on the Quality of Information and Communications Technology, QUATIC 2024, Pisa, Italy, September 11–13, 2024, ProceedingsOriginalsprog
EngelskSider fra-til (Antal sider)
Sider 194-209Publikationsmilepæle
- Udgivet - 11/09/2024
Publikationsstatus
Udgivet - 11/09/2024
Bind
2178Forlag
Springer, USA, TysklandISBN (Trykt)
978-3-031-70244-0ISBN (Elektronisk)
978-3-031-70245-7Publikations IDer
- Scopus: 85204620883
Titel på værtspublikation
Quality of Information and Communications TechnologyMetrikker
PlumX, åbner i en ny fane
Antal citationer
4
Hentninger
6
Adgang til dokumenter
Relateret event
Titel
International Conference on the Quality of Information and Communications Technology
Begivenhedstype
KonferenceGrad af anerkendelse
International begivenhedDato
11/09/2024 - 13/09/2024Lokation
PisaItalien