Web workers benchmark
Benchmark various aspects of Web workers.
What?
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
Results measured on a Flame.
Creation time
Latency
Transfer speed
Compatibility
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.