- Module Workers
- MessageChannelTransport
- request / handle
- autoTransfer
Render a fractal across Web Workers
Every tile below is one CrossBus request to a module Worker, answered with its pixels. Change the number of Workers or the wire format, or move the work onto the main thread and watch the heartbeat stop.
- Time
- —
- Tiles
- —
- Median round trip
- —
- Peak in flight
- —
- Longest main-thread frame
- —
- Rendered by
- —
Setup
Run on
Workers
Wire format
Detail (iterations)
Starting Workers…
. Times are measured in your browser, on this page; they are not a benchmark.
Bus trace · every envelope crossing a Worker boundary
- request 0
- response 0
- signal 0
- error 0
Drawn from the transport: each stroke is a real message sent or received by the bus in this page.
How it is wired
The page creates one bus and attaches one MessageChannel per Worker. Each Worker binds the transferred port to its own bus and registers a tile handler. These excerpts are loaded from the files this page runs.