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)
16 comments
[ 4.5 ms ] story [ 182 ms ] threadThis 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!
Gee, I dunno, maybe running a pointless flashy animation to represent something that doesn't need any?
It was Firefox's SVGPathElement::getPointAtLength implementation that was slow, working around it by caching all the calls to it.
possibly your lib could make the setup nicer.
Didn't know about jschan, would be interesting to see a performance comparison between the two.