measurement on the 238-object scene: the native gpuFrame draw path itself
takes 160-200 ms, but every frame cost ~20.8 s because the unified dispatcher
serialized the entire ~13 MB Main before and after each gpuFrame to compare
bytes for change detection. desktop Blender never does that per frame; changes
come from the undo stack and RNA notifiers.
the worker now reports whether a frame carries only non-mutating input (motion,
focus, grab-cancel) and the dispatcher skips both Main writes for those idle
frames, judging change from the native undo step and playback flag instead.
idle and hover frames drop from ~20.8 s to ~0.13-0.24 s; the large-open headed
case still passes (2.4 min). frames carrying press/key/wheel input keep the
byte comparison for now, which is tracked as the next performance item
(change detection via incremental SceneIR/undo signals instead of a full
serialization). wasm 8d398dc4137a52a419975a2587c5c1edc935d01e4132e59d874ea4078390acc0.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>