1 comment

[ 3.8 ms ] story [ 9.1 ms ] thread
Perhaps the most surprising to me is how much difference the

  array.map(function(item){ return parseFloat(item); })
statement makes. Removing this gives almost a 100% speedup.

Using the Cluster api to have one process per core results in another almost 100% speedup.