Browse Source

Update benchmarks for isPublicKeyHashIn

patch-2
Braydon Fuller 10 years ago
parent
commit
468f87d694
  1. 9
      benchmark/script.js

9
benchmark/script.js

@ -27,14 +27,6 @@ async.series([
}
function isPublicKeyHashIn() {
if (c >= scripts.length) {
c = 0;
}
scripts[c].isPublicKeyHashIn(true);
c++;
}
function isPublicKeyHashInAccurate() {
if (c >= scripts.length) {
c = 0;
}
@ -60,7 +52,6 @@ async.series([
var suite = new benchmark.Suite();
suite.add('isPublicKeyHashIn', isPublicKeyHashIn, {maxTime: maxTime});
suite.add('isPublicKeyHashIn (accurate)', isPublicKeyHashInAccurate, {maxTime: maxTime});
suite.add('toAddress', toAddress, {maxTime: maxTime});
suite.add('getAddressInfo', getAddressInfo, {maxTime: maxTime});
suite

Loading…
Cancel
Save