Fix resource usage. #94

Merged
drew merged 1 commit from fix-resource-usage into main 2026-07-08 09:06:34 +00:00
Owner

Move to a select based system for responding to events.

Additionally cache rendered markdown as the syntax highlighting is expensive, only recalculate when the window width changes (instead of at 60 fps)

These changes reduced an idle instance from using 60-80% of a CPU to 0%.

Move to a select based system for responding to events. Additionally cache rendered markdown as the syntax highlighting is expensive, only recalculate when the window width changes (instead of at 60 fps) These changes reduced an idle instance from using 60-80% of a CPU to 0%.
drew merged commit b25f4dcd72 into main 2026-07-08 09:06:34 +00:00
drew deleted branch fix-resource-usage 2026-07-08 09:06:34 +00:00
drew referenced this pull request from a commit 2026-07-08 09:06:35 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
drew/skate!94
No description provided.