Software Library Energy Meter (SLEM) : An Automated Energy Measurement Tool for Software Libraries
With the increasing use of software libraries and frameworks, optimizing energy consumption has become a critical challenge for developers and researchers. Energy profiling, particularly for specific modules, is essential for identifying inefficiencies and optimizing performance, but it remains a time-consuming and error-prone process. Traditional methods often involve running complex benchmarks and repeatedly monitoring energy consumption through manual scripting or function-level instrumentation, making the process tedious and disruptive to workflows.
To address this, we introduce \textit{Software Library Energy Meter (SLEM)}, an open-source tool built atop Intel’s Running Average Power Limit (RAPL) interface to measure energy consumption across software frameworks, libraries, and custom scripts written in Python. Unlike existing tools such as PyJoules, which require developers to manually annotate functions using decorators or wrappers, \textit{SLEM} automates this process entirely—it identifies, extracts, and profiles functions without modifying source code or re-compiling. Moreover, it provides a configurable batch execution framework with workload simulation, enabling realistic and reproducible energy measurements that existing RAPL-based tools lack.
We demonstrate \textit{SLEM}’s effectiveness through empirical experiments by replicating energy measurement studies from prior work and show a significant reduction in manual effort. The tool is particularly valuable in research environments where iterative testing and performance evaluation of energy experiments are required. A demonstration of the tool is available at https://youtu.be/oRsxfT_kNNk, and additional resources along with related artifacts can be accessed at https://rishalab.github.io/SLEM/.
Tue 14 AprDisplayed time zone: Brasilia, Distrito Federal, Brazil change
11:00 - 12:30 | GREENS 2026 - Pitch Session 2 / Group DiscussionsGREENS at Oceania VII Pitch Session 2 (5-minute pitch of each paper) followed by breakout group discussions | ||
11:00 10mTalk | The Impact of External Libraries on Software Energy Efficiency and Sustainability GREENS Nabihah Chaudhry LUT University, Salim Kamaludeen Lawal LUT University, Shola Oyedeji LUT University | ||
11:10 10mTalk | Integrating API Energy Profiling into Developer Workflows: The VerdeFlow Prototype GREENS Mbanyick B Joof LUT University, Muhammad Asif Khan LUT University, Shola Oyedeji LUT University , Jari Porras LUT University | ||
11:20 10mTalk | Operationalizing Sustainability through Non-Functional Requirements: A Domain-Oriented Model for Biomedical Software GREENS Livia dos Reis Edinger da Silva Federal University of Health Sciences of Porto Alegre (UFCSPA), Maria Antônia Gómez de Oliveira Maia Universidade Federal de Ciências da Saúde de Porto Alegre (UFCSPA), Juliana Silva Herbert UFCSPA - Universidade Federal de Ciências da Saúde de Porto Alegre | ||
11:30 10mTalk | Can We Measure What We Ignore? Rethinking the Individual Dimension of Software Sustainability in Digital Health GREENS Juliana Silva Herbert UFCSPA - Universidade Federal de Ciências da Saúde de Porto Alegre, Livia dos Reis Edinger da Silva Federal University of Health Sciences of Porto Alegre (UFCSPA), Muriel Figueredo Franco Federal University of Health Sciences of Porto Alegre (UFCSPA), Isabel Cristina Siqueira da Silva Federal University of Health Sciences of Porto Alegre (UFCSPA) | ||
11:40 10mTalk | METRION: A Framework for Accurate Software Energy Measurement GREENS Benjamin Weigell University of Augsburg, Simon Hornung University of Augsburg, Bernhard Bauer University of Augsburg | ||
11:50 10mTalk | Beyond Energy Consumption: Accurate Emission Factors for Production Sites GREENS | ||
12:00 10mTalk | Bridging the gap between industry and academia: sustainability in LLM-assisted software engineering GREENS Maja Kirkeby Roskilde University, Pepijn de Reus University of Amsterdam, Ana Oprescu University of Amsterdam, Kalle Pronk Fontys University of Applied Sciences, Qin Zhao Fontys University of Applied Science, Fernando Castor University of Twente, João Paulo Fernandes New York University, Abu Dhabi | ||
12:10 10mTalk | Graphical Interface Model for Empowering Web Application Users to Make Sustainable Choices: a Technology Acceptance Study GREENS Giuliano Marques Bonazzi Instituto Técnológico de Aeronáutica, Jacopo Ammendola Free University of Bozen-Bolzano, Eduardo Guerra Free University of Bozen-Bolzano | ||
12:20 10mTalk | Software Library Energy Meter (SLEM) : An Automated Energy Measurement Tool for Software Libraries GREENS Akilesh P Indian Institute of Technology Tirupati, Shivadharshan S Indian Institute of Technology Tirupati, Rajrupa Chattaraj Indian Institute of Technology Tirupati, India, Sridhar Chimalakonda Indian Institute of Technology Tirupati, Vibhu Saujanya Sharma Accenture Labs, Vikrant Kaulgud Accenture Labs, India | ||