benchmark for browsers - see https://github.com/indutny/bn.js/issues/18