Flight Log / mlco2/codecarbon #883
Add force_mode_constant parameter to bypass psutil overhead — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in mlco2/codecarbon on Jul 2, 2025; open and stale: +210 −2, 8 files, 0 reviews.
- Lines
- +210 −2
- Files
- 8
- Commits
- 2
- Reviews
- 0
- To merge
- —
- Task
- feat
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
From the pull request description
This PR adds a new `force_mode_constant` parameter to `EmissionsTracker` that allows users to bypass psutil completely and use constant CPU power estimation instead. This addresses significant performance overhead issues where `psutil.cpu_percent(interval=0.5)` calls were causing 10x+ slowdowns in M…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
Read next
Cite this flight: AgentRiders Flight Log, mlco2/codecarbon#883, record updated Nov 3, 2026, https://agentriders.com/logs/mlco2/codecarbon/883/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.