Skip to content

[5/6] Show app CPU and memory usage on demand - #173

Draft
BinaryBearsLLC wants to merge 5 commits into
momenbasel:mainfrom
BinaryBearsLLC:Upgrade-05-resources
Draft

BinaryBearsLLC wants to merge 5 commits into
momenbasel:mainfrom
BinaryBearsLLC:Upgrade-05-resources

Conversation

@BinaryBearsLLC

@BinaryBearsLLC BinaryBearsLLC commented Sep 16, 2026 •

Copy link
Copy Markdown

Part 5 of 6 — depends on #169, #170, #171, #172. Please keep this PR in draft until the preceding parts are merged. Its current Files changed tab includes those earlier changes.

Review and merge order: #169 → #170 → #171 → #172 → #173 → #174.

Before merging: refresh this branch against the updated main, retaining only this part’s commit. If earlier parts were squash-merged or rebased, reapply only the linked commit onto updated main; do not merge the cumulative diff as-is.

Review this part’s commit.

What does this PR do?

Adds a collapsible CPU–Memory card with a compact overview and an expandable Apps and processes list.

  • Groups app helpers and supports sorting by CPU or memory and searching by name.
  • Stops detailed sampling when collapsed, off-page or unfocused, and releases cached process data.
  • Keeps the optional menu-bar monitor independent. CPU percentages use total Mac capacity; resident memory can include shared pages.

Testing

  • Tested on macOS Ventura 13.6 (22G120, Apple Silicon VM).
  • Host XCTest suite and universal arm64/x86_64 build on macOS 26.6.2.

120 XCTest tests passed, covering CPU deltas, process grouping, PID reuse and monitoring lifecycle; universal build succeeded on macOS 26.6.2 (Apple Silicon). Tested on macOS Ventura 13.6 (22G120, Apple Silicon VM). GUI checks passed for live readings, sorting/search, pause/resume and the independent menu-bar monitor, including a minimized window. Standalone Ventura checks also exercised sampling, CPU math, grouping and timer ownership.

Screenshots

Apps and processes

Cpu memory overview

This branch has not been deployed

No deployments
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.

1 participant