Browse Source

Add benchmark script

master
Luke Childs 6 years ago
parent
commit
b57c4797cb
  1. 6
      bench/index.js
  2. 1
      package.json

6
bench/index.js

@ -0,0 +1,6 @@
const Vain = require('../');
const vain = new Vain({prefix: 'BTC'});
const result = vain.start();
console.log(result);

1
package.json

@ -7,6 +7,7 @@
"node": ">=8"
},
"scripts": {
"bench": "node bench/index.js",
"test": "xo && nyc ava",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},

Loading…
Cancel
Save