• Home
  • Search
  • Empirical analysis of Python’s energy impact: Evidence from real measurements
  • Cite Icon1
  • https://doi.org/10.2298/csis240228015jCopy DOI Icon

Empirical analysis of Python’s energy impact: Evidence from real measurements

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Programming languages provide the notation for writing computer programs capable of granting our devices the desired functionalities. Even though they may seem intangible, the resulting programs involve an amount of energy consumption, which has an impact on the environment. Some studies on the consumption of programming languages indicate that while being one of the most widely used languages, Python is also one of the most demanding in terms of energy consumption. To provide developers using Python with a set of best practices on how to use it in the most energy-efficient way, this paper presents a study on whether the different ways of programming in Python have an impact on the energy consumption of the resulting programs. We have studied the relationship between Python?s energy consumption and the fact that Python is a very versatile language that allows programs to be compiled and executed in many different ways. From the results obtained in our study, there seems to be a clear relationship between software energy consumption at runtime and: (1) the use of interpreted or compiled Python; (2) the use of dynamically or statically typed variables. Compiling Python code is a good option if it is done using the py compile module. The use of interpreted code seems to decrease energy consumption over compiling using Nuitka. The use of dynamically typed variables seems to decrease considerably the graphics and processor energy consumption. In addition, we have observed that energy consumption is not always directly related to execution time. Sometimes, more power in less time increases consumption, due to the power required.

Similar Papers
  • PDF
  • Research Article
  • Citations3

Prediction of processing time and energy consumption and optimization of machining parameters in gear hobbing

  • Oct 01, 2019
  • IOP Conference Series: Materials Science and Engineering
  • Wei Huang +4
  • Research Article
  • Citations24

An integrated approach to investigate the energy consumption for manufacturing and surface finishing 3D printed Inconel 718 parts

  • May 05, 2022
  • Journal of Manufacturing Processes
  • Ersilia Cozzolino +4
  • Conference Article
  • Citations54

Can execution time describe accurately the energy consumption of mobile apps? an experiment in Android

  • Jun 01, 2014
  • Luis Corral +3
  • Conference Article
  • Citations3

Reduction of cache energy by switching between L1 high speed and low speed cache under application of DVFS

  • Aug 01, 2016
  • Kaoru Saito +2
  • Research Article
  • Citations25

Does maintainability relate to the energy consumption of software? A case study

  • Jan 06, 2021
  • Software Quality Journal
  • Javier Mancebo +2
  • Dissertation
  • Citations16

Scenario studies for algae production

  • Jan 01, 2014
  • P.M Slegers
  • PDF
  • Research Article
  • Citations25

Modified Migrating Birds Optimization for Energy-Aware Flexible Job Shop Scheduling Problem

  • Feb 20, 2020
  • Algorithms
  • Hongchan Li +2
  • Conference Article
  • Citations17

Finding Significant Differences in the Energy Consumption when Comparing Programming Languages and Programs

  • Jun 01, 2022
  • Lukas Koedijk +1
  • Research Article
  • Citations1

Modeling and Analysis of Real-Time Software Based on Resource Timed Communicating Sequential Process

  • Apr 01, 2011
  • Advanced Materials Research
  • Yi Zhu
  • Research Article
  • Citations1

How Software Design Affects Energy Performance: A Systematic Literature Review

  • Mar 29, 2025
  • Journal of Software: Evolution and Process
  • Déaglán Connolly Bree +1
  • Conference Article
  • Citations16

On the energy consumption and performance of systems software

  • May 30, 2011
  • Zhichao Li +5
  • Conference Article
  • Citations8

Impact of virtual execution environments on processor energy consumption and hardware adaptation

  • Jun 14, 2006
  • Shiwen Hu +1
  • PDF
  • Research Article
  • Citations24

Towards a circular economy: valorization of banana peels by developing bio-composites thermal insulators

  • Aug 07, 2023
  • Scientific Reports
  • Gehad R Mohamed +5
  • PDF
  • Research Article
  • Citations4

Prediction and Analysis of Energy Consumption in Fused Deposition Processing Based on G-code

  • Dec 01, 2022
  • Journal of Physics: Conference Series
  • Zequan Zhang +2
  • Conference Article
  • Citations14

Reduction of Energy Consumption in Processors by Early Detection and Bypassing of Trivial Operations

  • Jul 01, 2006
  • Md Mafijul Islam +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.