Web Messaging & Cross-Context IPC Suite · Cross-Origin Isolated
When does postMessage() actually become the bottleneck?
Measure every web IPC primitive directly in your browser across same-thread baselines, Dedicated Workers,
Transferable objects, SharedArrayBuffer, SharedWorker,
ServiceWorker (postMessage & intercepted fetch()),
BroadcastChannel, storage handoffs, iframes, popups, and real-world app workloads.
"Is
Hypothesis from wasm-vs-js.com/methodology · Context & MessagePort patterns inspired by port-authority.devpostMessagethe bottleneck? Usually not for small control messages. Sending a small command object and summary back across threads costs roughly 0.05–0.30 ms. Messaging only dominates when an app structured-clones megabytes of data per call instead of transferringArrayBufferownership or keeping state inside the worker."
Browser IPC Capability Matrix (click to inspect detected APIs)
Benchmark Controls
Hypothesis Verdict: Small Control Messages vs Megabyte Clones
Scaling Curves & Channel Latency
Payload Scaling (64 B → 16 MiB)
Channel Comparison (p50 Bar + p95 Whisker)
Same-Origin vs Cross-Origin Comparison
Real-World Application Scenarios
Detailed Benchmark Tables
Click or press Enter on any row to inspect full percentile distributions, IQR, MAD, synchronous send-block latency, and its deterministic proof-of-execution digest.