Examples consume a lot of CPU time when not visible on macOS
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 147
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Description
macOS has an unusual behavior that it will not wait for V-Blank when the window is not visible. That can happen e.g. when the window is minimized or it is entirely covered by another window. While the issue is limited to examples, it's still bad because the examples are how people learn to use this crate.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the high CPU usage with the examples on macOS while their windows are minimized or covered. Inspect the examples' rendering and frame-pacing behavior; done means hidden examples no longer consume excessive CPU while remaining usable when visible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust
- Domain
- operating-systems, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100