franciscop / uwork

Tiny webworker that doesn't need an external file to run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Takes ~100ms to launch

franciscop opened this issue · comments

Launching a web worker this way takes around 100ms. This means that right now this is a good library for several threads where each thread takes long time (over 1s) to execute, but for many short threads or for realtime the overhead is noticeable.

I have been trying to debug this but so far I haven't been able to. Initial testing leads me to think it has to do with Blob more than with WebWorkers.