2026-03-24 13:40:41 +00:00

15 lines
542 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Stress test outline (to add in PR7.9 or here if desired)
Build a bytecode program with a tight loop containing arithmetic + occasional YIELD and ensure:
Under tiny budgets (1n cycles), pc progression is identical across runs.
What I changed and why
Open in editor
Switches (simulated by alternating between two VMs) occur only
immediately after step() completes, or
when run_budget returns FrameSync.
No observable state change occurs when forceswitching between two VMs midtick except at these safepoints.