Probabilistic energy profiler for statically typed JVM-based programming languages
Joel Nyholm, Wojciech Mostowski, Christoph Reichenbach

TL;DR
This paper introduces a probabilistic energy profiling method for JVM-based languages that predicts energy consumption based on Bytecode patterns and Bayesian modeling, accounting for hardware and code factors.
Contribution
It presents a novel Bayesian-based methodology to predict energy usage of JVM programs from static code features, addressing limitations of prior CPU-focused point estimates.
Findings
Energy consumption varies with data type, size, and operation.
Device differences significantly affect energy usage.
Predicted energy closely matches actual measurements.
Abstract
Energy consumption is a growing concern in several fields, from mobile devices to large data centers. Developers need detailed data on the energy consumption of their software to mitigate consumption issues. Previous approaches have a broader focus, such as on specific functions or programs, rather than source code statements. They primarily focus on estimating the CPU's energy consumption using point estimates, thereby disregarding other hardware effects and limiting their use for statistical reasoning and explainability. We developed a novel methodology to address the limitations of measuring only the CPU's consumption and using point estimates, focusing on predicting the energy usage of statically typed JVM-based programming languages, such as Java and Scala. We measure the energy consumption of Bytecode patterns, the translation from the programming language's source code statement…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGreen IT and Sustainability · Software Engineering Research · Parallel Computing and Optimization Techniques
