This repository benchmarks the cost of various aspects of Web Workers.
The timing supports the following aspects of Web Worker lifecycle:
- Creation
- Termination
- onmessage - Receiving data to the worker
- postMessage - Posting data to the the worker
The repository also supports benchmarking inline web workers in the form of Jason Miller's greenlet library. It covers:
- await - Time for data to be transfered to and from the inline worker
See the GitHub pages site for this repo
MIT