Skip to content

Improve VM info bar: live CPU/disk/net throughput + hover-to-reveal#345

Merged
felixrieseberg merged 1 commit into
masterfrom
claude/kind-hermann
Apr 11, 2026
Merged

Improve VM info bar: live CPU/disk/net throughput + hover-to-reveal#345
felixrieseberg merged 1 commit into
masterfrom
claude/kind-hermann

Conversation

@felixrieseberg
Copy link
Copy Markdown
Owner

Makes the little status pill at the top of the emulator actually useful for telling whether the VM is doing anything.

What changed

  • CPU shown as M/s (millions of instructions per second) instead of a raw per-ms count
  • Disk shows real read/write throughput (B / K / M per sec) from ide-read-end / ide-write-end byte payloads, replacing the old Idle/Read flag
  • Net ↓/↑ throughput added from eth-receive-end / eth-transmit-end
  • Bar is now always mounted; Hide slides it off-screen and moving the cursor to the top ~8px reveals it again (link reads Pin to re-dock)
  • Centering switched to translateX(-50%) so the wider bar stays centered regardless of content width

All stats refresh on a single 500ms tick; the v86 event handlers just accumulate byte counters between ticks so there's no extra render churn.

- Show CPU as M/s (millions of instructions/sec) instead of raw count
- Replace Disk Idle/Read with actual R/W throughput (B/K/M per sec)
- Add Net ↓/↑ throughput from eth-receive-end / eth-transmit-end
- Always mount the bar; when hidden it slides off-screen and reveals on
  hover near the top edge (Pin/Hide toggle)
- Center via translateX(-50%) so the wider bar stays centered
@felixrieseberg felixrieseberg merged commit c243ebb into master Apr 11, 2026
1 of 2 checks passed
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