Skip to content

perf: cut idle wakeups from agent detection and background timers (INC-454) - #526

Merged
arzafran merged 1 commit into
mainfrom
perf/inc-454-idle-wakeups
Nov 3, 2026
Merged

arzafran merged 1 commit into
mainfrom
perf/inc-454-idle-wakeups

Conversation

@arzafran

@arzafran arzafran commented Nov 3, 2026

Copy link
Copy Markdown
Member

A Programa with no visible window no longer reads every pane's text every 3 seconds to look for coding agents. Agents that were already recognized keep updating their state and notifications as before. Six repeating background timers also now carry a small leeway, so macOS can fold their wakeups together instead of firing each one on the dot.

This should lower idle CPU and wakeups when the app sits hidden. It was not measured here; the idle measurement script from INC-452 is the way to check it.

Not compiled locally: this machine has no GhosttyKit.xcframework and no zig 0.16, so CI's build is the compile check.

Fixes INC-454

@arzafran
arzafran merged commit 9547405 into main Nov 3, 2026
12 checks passed
@arzafran
arzafran deleted the perf/inc-454-idle-wakeups branch November 3, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant