parasyte / parasyte/pixels

Examples consume a lot of CPU time when not visible on macOS

Open
#174 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug examples
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.