Joule-Profiler: Profiling the Energy Consumption of Build Automation Tools Made Easy
Abstract
Build pipelines are integral to modern software development, yet their energy footprint remains largely invisible to practitioners. Existing CI energy tools either rely on model-based estimation (due to hardware access restrictions in cloud runners) or report only total pipeline energy without decomposing it into meaningful phases. Joule-Profiler is an open-source command-line tool for Linux that measures hardware energy consumption via Intel RAPL (CPU), NVML (NVIDIA GPU), and attributes it to user-defined program phases by monitoring standard output. In this tool paper, we demonstrate Joule-Profiler in the context of Maven build pipelines using Google Gson as a case study. By applying a token pattern-matching Maven plugin invocations, we analyze builds across the 5 most recent Gson releases into per-phase energy profiles, comparing cold builds (empty local repository) and warm builds (cached dependencies).
Create a lesson
Metadata
- Categories
- cs.SE, cs.DC, cs.PF
- Comments
- 4 pages, 2 figures. Submitted to the ICSE 2027 Tool Demonstration and Data Showcase Track
Related papers
Profiling the Energy Consumption of Serverless Functions with Joule Profiler
Shared title terminologycs.SEJérémy Woirhaye, François Gibier, Anderson Andrei Da Silva et al.
Trading Joules for Options: Exploring The Energy Price of Building Linux Kernel Configurations
Shared title terminologycs.SESophie Fortz, Quentin Perez, Mathieu Acher
When Developers Build Security Tools for Themselves: Requirement Misalignment in Automation Ecosystems
Shared title terminologycs.SEOluwafolajinmi Adewole, Elmira Onagh, Maleknaz Nayebi
Bridging UVM and Tessent: An Automated Co-Verification Framework for MBIST Designs
Shared title terminologycs.SEDo Ngoc Tiep, Cao Ngoc Thanh Do, Luu Danh Minh et al.
Did the Finding Go Away? Evidence for Closing Automated Code Review Findings
Shared title terminologycs.SEXuechun Luo, Weicheng Wang
Safe Continuation in LLM Agents: Runtime and Tool-Contract Boundaries
Shared title terminologycs.SEZihao Wang