Isolating the raw Wasm-to-JS boundary cost ("Trampolining") and comparing it against the heavy cost of DOM updates.
| Iterations | Experiment A: Boundary Overhead (Empty Call - Pure Trampoline Cost) |
Experiment B: Real Workload (DOM Update - Heavy Payload) |
||||
|---|---|---|---|---|---|---|
| JS Direct | Wasm -> JS | Factor | JS Direct | Wasm -> JS | Factor | |