The sphere count has been increased from 16384 to 262144 per iteration. A random number of iterations with a range from 1 to 25 are chosen with each button press for a given test. Sixteen workers are created during the construction of the WWCuller class and are reused for each iteration. Each worker processes 16384 spheres so the hope is that even with the larger sphere count, the times will be similar to the original test a few weeks ago. Results can be found below and the code is available on my github page.
Goes with out saying, but Chrome does not like the Web Workers with my implementation. V8 is incredibly fast, in some cases it’s almost as fast as Firefox with the Web Workers. It’s also all over the place, how does five iterations take 183s and eighteen iterations take 61s. It makes not sense to me and it’s something I’m going to have to look into.