add test/speed.js to calculate optimum number of rounds