Commit Graph
3 Commits
Author SHA1 Message Date
Nwflower 7697374132 perf(backend): bound per-VM resources, stream 4K preview scaling, and cap log tailing 2026-11-29 05:46:05 -07:00
NwflowerandClaude Opus 5.5 69803355bf perf(shell): cut thumbnail cost and reims-ctl polling
The VM page made the shell spawn about 84 reims-ctl processes a minute
and pull a full 4K screendump every 5 s while a VM ran.

- Scale reads *image.RGBA Pix directly: a 4K frame drops from ~80 ms
  and 8.3M allocations to ~10 ms and 2.
- Thumbnails refresh every 15 s and skip the screendump while the VM's
  own window is in the foreground.
- pollVMs polls every 2 s only while a VM starts or stops, else every
  5 s; start, stop and delete wake it at once.
- Stats, thumbnails and the heartbeat reuse the polled list instead of
  running their own `reims-ctl list`; the disk path from `show` is kept
  for a minute.

Measured with two windows on the VM page: 67 -> 13 reims-ctl spawns a
minute.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 22:51:40 -07:00
Nwflower b2f7f036d8 feat(m5): add macOS prev-lang preset, disk resize/compact, audio diagnostics, and VM thumbnails
- M5.5: add pure-Go internal/opencore reader/in-place patcher for OpenCore NVRAM prev-lang:kbd with sidecar persistence, automatic replay after update-opencore/graphics changes/CoW clones, wizard/settings/CLI (--guest-lang) support
- M5.6: add stopped VM disk resize (qemu-img resize + dynamic macOS APFS expand command) and standalone qcow2 compaction (backing-file guard, free-space check, qemu-img check, atomic swap) in GUI Settings and CLI (vm resize/compact)
- M5.9: add Win32 winmm audio output/input device probing, fix reims-ctl show audio_backend parsing, expose audio backend selector (auto/dsound/none) and latency/mic diagnostics in Settings & CLI
- UI & thumbnails: add QMP screendump VM thumbnails (internal/thumb, thumbnail_flow.go), VMPage/CreateWizard layout polish, and docs/ui-audit.md
- Update docs/roadmap.md for M5.5, M5.6, and M5.9
2026-11-28 10:17:54 -07:00