Skip to content

Speed up QEMU startup and browser/native output delivery - #163

Merged
m5agent merged 7 commits into
mainfrom
m5agent/emulator-performance-20261103
Nov 3, 2026
Merged

m5agent merged 7 commits into
mainfrom
m5agent/emulator-performance-20261103

Conversation

@m5agent

@m5agent m5agent commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Speed up QEMU startup and browser/native output delivery while retaining the existing single QEMU device-model architecture and TCI browser runtime. The changes cover verified immutable-asset/module reuse, typed helper calls with libffi fallback, bounded GPIO transactions, opt-in diagnostics, independent frame/output polling, exact-firmware normal-clock profiles, and retained-frame orientation repainting. The experimental JIT is excluded.

Virtual-device validation: a fresh 72-patch runtime, final 19-board / 20-reference-case browser gate (552 checks), independent original StackChan dance cold/repeat and touch runs, original CoreS3 reference composition, and native delivery controls. The 19-board gate is functional regression coverage, not a claim that every board was benchmarked or accelerated. StackChan ready is 3.559/2.746 s versus the previous 11.674 s; the comparison includes the documented clock/profile and cache differences. Official Factory browser compatibility remains PARTIAL; hardware and long-soak validation were not run.

Validation: the complete local platform suite (1,942 tests, 10 skips), seven portable host C contracts, Node contracts, generated validators, source-lock checks, independent patch replay and exact-tree patch application pass. Both updated-head CI runs pass platform-contracts and network-namespace-policy (four successful checks); the host-only follow-up preserves complete assertion/stdout/signal comparisons across macOS and glibc. Reproducible configuration, firmware/runtime hashes, failures and limits are in the fixed work record. Pages deployment is a separate subsequent step authorized by the user.

@m5agent
m5agent merged commit 189dc01 into main Nov 3, 2026
4 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