Benchmark various aspects of Web workers.
A technical, mobile first app to benchmark different aspects related to web workers:
- Instantiation
- Messaging latency
- Transfer speed
The following communication methods are used:
- postMessage
- BroadcastChannel
- the threads library
Results measured on a Flame.
While this app itself works cross-browser, the thread.js library requires an environment that supports the Broadcast Channel API (i.e. Firefox only currently). In the future, this may not be the case. It will then be possible to run this app in other browsers.