3 ms·
Currently quite a lot, more than 10 with the current stable Firefox release, here's a test page: http://pmav.eu/stuff/javascript-webworkers/ http://pmav.eu/stuf
by fulafel 9y ago
Currently quite a lot, more than 10 with the current stable Firefox release, here's a test page: http://pmav.eu/stuff/javascript-webworkers/ http://pmav.eu/stuff/javascript-webworkers/
(Web workers are around since ca. 2010 so this is not very new)
- imtringued 9y agoDo they require you to serialise data to strings or is it possible to transmit typed arrays?
- fulafel 9y agoThere is support for efficiently passing data around. You can directly get binary typed arrays from XmlHttpRequest without intermediate processing, and you can pass them around without memory copies to WebWorkers using Transferables. More recently you have shared typed arrays that work like shared memory between threads (as of Safari 10.1 / Chrome 60, Firefox too)