Skip to content

feat(ui): mark MEM% as sorted alongside MEM MB - #50

Merged
michaelsanford merged 1 commit into
mainfrom
feat/mem-sort-label
Nov 28, 2026
Merged

michaelsanford merged 1 commit into
mainfrom
feat/mem-sort-label

Conversation

@michaelsanford

Copy link
Copy Markdown
Owner

MEM% and MEM MB are both the working set divided by a per-tick constant (1 MiB vs. total physical RAM), so they always sort identically. Only MEM MB carried the sort arrow, which made MEM% look like the one numeric column that couldn't be sorted.

  • The memory sort now marks both headers (MEM% ↓ fits the existing 7-cell width).
  • Status bar / [s] cycle label: MEM MB → MEM (README and docs site updated).
  • No new sort field: a separate MEM% sort would be a redundant [s] step with a coarser key. Zero per-tick cost.

Stacked on #49; its diff includes #49's commits until that lands.

@michaelsanford

michaelsanford commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner Author

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

MEM% and MEM MB are the same working set over a per-tick constant, so they
always order identically; only MEM MB carried the arrow, making MEM% look
unsortable. The memory sort now marks both and is labelled "MEM".
@michaelsanford
michaelsanford merged commit 2477554 into main Nov 28, 2026
7 checks passed
@michaelsanford
michaelsanford deleted the feat/mem-sort-label branch November 28, 2026 14:20
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