Murmur WASM - WebAssembly probe runtime.
This crate provides browser-side probes that can measure network timing from within a web page. It uses the Fetch API and Performance APIs to capture timing data.
Capabilities
In WASM, we can:
- Make HTTP/HTTPS requests via Fetch API
- Measure request timing (DNS, TCP, TLS, TTFB)
- Access Navigation Timing and Resource Timing APIs
- Read network connection information
We cannot:
- Make raw TCP/UDP connections
- Send ICMP packets (ping/traceroute)
- Access low-level network interfaces
Usage
import init from 'murmur-wasm';
await ;
const result = await ;
console.log;