MotionScript

@motion-script/core


@motion-script/core / DEFAULT_REPLAY_BUDGET_MS

Variable: DEFAULT_REPLAY_BUDGET_MS

const DEFAULT_REPLAY_BUDGET_MS: 8 = 8

Defined in: runtime/state-evaluator.ts:18

Wall-clock milliseconds a time-sliced replay may run before yielding to the event loop. Half a 60 Hz frame, so the other half is left for input handling and paint. Much below ~4 ms and the per-yield scheduling overhead starts to dominate the replay itself.