Improve VM info bar: live CPU/disk/net throughput + hover-to-reveal#345
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes the little status pill at the top of the emulator actually useful for telling whether the VM is doing anything.
What changed
M/s(millions of instructions per second) instead of a raw per-ms countide-read-end/ide-write-endbyte payloads, replacing the old Idle/Read flageth-receive-end/eth-transmit-endtranslateX(-50%)so the wider bar stays centered regardless of content widthAll stats refresh on a single 500ms tick; the v86 event handlers just accumulate byte counters between ticks so there's no extra render churn.