Frontmatter
| id | 8654 |
| title | Optimize Global MouseMove with rAF Throttling |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Jan 14, 2026, 9:08 PM |
| updatedAt | Jan 14, 2026, 11:11 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8654 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 8630 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 14, 2026, 11:11 PM |
Objective
Optimize
mousemoveevent handling by implementing requestAnimationFrame (rAF) throttling in the Main Thread (Neo.main.DomEvents). This allows us to remove thedelayableconfig in the App Worker components, reducing the number of messages sent across the worker bridge.Tasks
src/manager/DomEvent.mjs: Addmousemoveto thehandlerMapto route local listeners to the new specialized handler.src/main/DomEvents.mjs:onMouseMovehandler.apps/portal/view/HeaderCanvas.mjs: Remove thedelayable(throttle) config foronMouseMoveas it is now handled at the source.