3 ms·
Worth mentioning: workerize[0], which Jason released a couple weeks ago, allows you to move entire modules to a web worker. greenlet is a bit like "workerize-l
by mxstbr 9y ago
Worth mentioning: workerize[0], which Jason released a couple weeks ago, allows you to move entire modules to a web worker.
greenlet is a bit like "workerize-lite" in the sense that it allows you to move individual functions to their own thread.
Also relevant: a discussion with Jason yesterday about when it's worth moving functions to a web worker: https://twitter.com/mxstbr/status/957312201987063808 https://twitter.com/mxstbr/status/957312201987063808
https://github.com/developit/workerize https://github.com/developit/workerize
- dh-g 9y agoworkerize looks very nice. I've used https://github.com/borisirota/webworkify-webpack https://github.com/borisirota/webworkify-webpack in the past but wasn't 100% satisfied. Does anyone know of write-ups documenting performance of the various methods of pushing data to and from WW across different browsers?