Re:Show HN: Wsq – WebSocket task queues
by rwinn on Wednesday December 09, 2015 @07:06AM
(#10703159)
Btw, if anyone is wondering why the workers run so slow when in a background tab, it is because most browsers throttle setTimeout's to run max once a second when the browser window looses focus. (web workers does not have this problem but for the demo i figured it would be fun to watch the workers do their thing)
This is some "on the fly" computation?
Like, people could add computing power to a process just by surfing to a webpage?
If you could break your problem up in to lots of small isolated tasks it could be used like that
A very interesting way to do distributed computing!
possibly your lib could make the setup nicer.
It was Firefox's SVGPathElement::getPointAtLength implementation that was slow, working around it by caching all the calls to it.
Didn't know about jschan, would be interesting to see a performance comparison between the two.