dol8: A Python CI/CD gate that blocks pull requests with energy regressions

dol8 is an open-source CI/CD gate that stops pull requests from increasing a Python program's CPU energy use. It reads real RAPL energy measurements on bare-metal Linux and falls back to perf counters on virtual machines or CPU-time estimates on Windows. Its measurement core is written in Rust via PyO3, keeping the measurement separate from Python's own overhead, while Python handles statistics and orchestration. Every result is labeled with its measurement source and confidence, the gate avoids failing builds on noisy data, and comparisons across measurement types are blocked. The project is at v0.4-alpha under the MIT license, validated on AMD Ryzen, with Intel validation still in progress.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in