Skip to content

idle_notify: debounce inactivity timers#1934

Draft
cmeissl wants to merge 1 commit into
masterfrom
perf/idle_notifier
Draft

idle_notify: debounce inactivity timers#1934
cmeissl wants to merge 1 commit into
masterfrom
perf/idle_notifier

Conversation

@cmeissl

@cmeissl cmeissl commented Feb 14, 2026

Copy link
Copy Markdown
Collaborator

when processing multiple input events we
can delay re-registering the timers until
all event have been processed.
this safes us from cancelling and registering
the timers multiple times.

when processing multiple input events we
can delay re-registering the timers until
all event have been processed.
this safes us from cancelling and registering
the timers multiple times.
@cmeissl

cmeissl commented Feb 14, 2026

Copy link
Copy Markdown
Collaborator Author

@mayakwd I tried to further optimize this a bit, if you got some spare time I would appreciate if you can check if this lowers CPU usage for you.

@YaLTeR

YaLTeR commented Feb 15, 2026

Copy link
Copy Markdown
Contributor

@mayakwd

mayakwd commented Feb 16, 2026

Copy link
Copy Markdown
Contributor

@mayakwd I tried to further optimize this a bit, if you got some spare time I would appreciate if you can check if this lowers CPU usage for you.

Hey, sure. I'll check it in the evening.

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.

3 participants