Can GenAI predict code’s energy use and why should we care? by Wilco Burggraaf @DevoxxForever
Can GenAI predict code’s energy use and why should we care? by Wilco Burggraaf  @DevoxxForever
Uploaded April 2026 | Updated September 2026, 3 weeks ago
Please subscribe to our YouTube channel @ youtube.com/@DevoxxForever
Subscribe to LinkedIn @ linkedin.com/company/voxxed-days-amsterdam
Follow us on Twitter @ twitter.com/voxxedamsterdam

This 15-minute demo shows how AI helps you spot and shrink the hidden energy and CO₂ footprint in “mature” Java code.

We use a simple, transparent theoretical model for sustainable decision making.

Micro-ops map to CPU work at one to five gigahertz, which we convert to milliwatt-hours bandwidth. Multiply that by your grid’s carbon intensity to estimate CO2. This matters because much of the marginal electricity on the grid still comes from gas turbines, so every milliwatt-hour you avoid cuts indirect emissions.

The AI annotates code line-by-line with uOps and mWh, flags smells/SOLID issues, predicts boost/threads risks, etc.

You’ll see how this works on small, widely used open-source Java libraries (think helpers, IO, logging, JSON).

We apply a lightweight playbook focused on under-utilization, waiting patterns, and bottlenecks. Using our ten DevOps++ open-source principles, like eliminate idle compute, right-size memory, prioritize I/O before scaling, prune work at the source, etc.

Key takeaways
A practical AI-assisted method to estimate a theoretical energy from code.
A repeatable playbook for low-risk patches that save watts without sacrificing speed.
A governance hook to make “less energy” a default quality bar in your CI/CD pipelines.

Target audience
Java engineers, tech leads, SRE/DevEx, FinOps/Sustainability owners, or anyone who wants measurable, low-effort energy wins in code and CI.
Can GenAI predict code’s energy use and why should we care? by Wilco BurggraafTDD makes you a better everyday developer by Jesse KershawAshes to Ashes, Specs to Specs: A Farewell to Old Testing Tools by Younes JaaidiTraining My Rival in Java: A Deep Q-Learning AI to Play Azul by Victor Uria ValleBe more productive with IntelliJ IDEA - Marit van DijkAgentic Programming, this is how its done by Jeroen Egelmeers[VDBUH2026] Roberto Cortez - How difficult can it be to write efficient code?[VDBUH2026] Andra Ghibutiu & Alex Proca - Opening thoughtsStreams – Below the Surface by Cay Horstmann and Maurice NaftalinHow We Turned AI Hype into Real Value by Dimitra GkoutziouliDid You Not Get the Memo? Signed, Atomic Design by Faris AzizBraving the Change: Recalibrating to new realities by Tom Cools
Devoxx |

Can GenAI predict code’s energy use and why should we care? by Wilco Burggraaf

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER