Skip to main navigation Skip to search Skip to main content

Energy Codesumption, Leveraging Test Execution for Source Code Energy Consumption Analysis

Research output: Contribution in Book/Catalog/Report/Conference proceedingConference contribution

121 Downloads (Pure)

Abstract

The software engineering community has increasingly recognized sustainability as a key research area. However, developers often have limited knowledge of effective strategies to reduce software energy consumption. To address this, we analyze energy consumption in software execution, aiming to raise developer awareness by linking energy consumption with each line of code. We rely on unit test executions to identify energy-intensive executions and manually analyze five hot and five cold spots to identify potentially energy-intensive source code constructs. Our findings suggest a link between the energy consumption of the source code and the number of objects’ attributes created within that code. These results lay the groundwork for further analysis of the relationship between object instantiation and energy consumption in Java.
Original languageEnglish
Title of host publicationFSE Companion 2025 - Companion Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering
EditorsJingyue Li
Place of PublicationTrondheim, Norway
PublisherACM Press
Pages1432 - 1436
Number of pages5
ISBN (Electronic)979-840071276-0
DOIs
Publication statusPublished - 28 Jul 2025
Event33rd ACM International Conference on the Foundations of Software Engineering - Trondheim, Norway
Duration: 23 Jun 202528 Jun 2025
Conference number: 33
https://conf.researchr.org/home/fse-2025

Publication series

NameProceedings of the ACM SIGSOFT Symposium on the Foundations of Software Engineering
ISSN (Print)1539-7521

Conference

Conference33rd ACM International Conference on the Foundations of Software Engineering
Abbreviated titleFSE '25
Country/TerritoryNorway
CityTrondheim
Period23/06/2528/06/25
Internet address

Funding

This research was funded by the CyberExcellence by DigitalWallonia project (No. 2110186), funded by the Public Service of Wallonia (SPW Recherche).

Funders
SPW Service public de Wallonie

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 7 - Affordable and Clean Energy
    SDG 7 Affordable and Clean Energy

Keywords

  • energy consumption
  • java
  • source code analysis
  • test execution

Fingerprint

Dive into the research topics of 'Energy Codesumption, Leveraging Test Execution for Source Code Energy Consumption Analysis'. Together they form a unique fingerprint.

Cite this