Expose benchmark:all script

This commit is contained in:
dapplion 2020-11-30 22:07:26 +00:00
parent 138c8e99fa
commit 46e26a621c
2 changed files with 3 additions and 2 deletions

View File

@ -29,4 +29,4 @@ jobs:
run: yarn test:web run: yarn test:web
- name: Benchmark - name: Benchmark
run: yarn benchmark run: yarn benchmark:all

View File

@ -42,7 +42,8 @@
"test:spec": "mocha --colors -r ts-node/register 'test/spec/**/*.test.ts'", "test:spec": "mocha --colors -r ts-node/register 'test/spec/**/*.test.ts'",
"test": "yarn run test:unit && yarn run test:spec", "test": "yarn run test:unit && yarn run test:spec",
"coverage": "codecov -F bls", "coverage": "codecov -F bls",
"benchmark": "ts-node test/benchmark" "benchmark": "ts-node test/benchmark",
"benchmark:all": "cd test/benchmark && yarn install && yarn benchmark"
}, },
"dependencies": { "dependencies": {
"@chainsafe/bls-keygen": "^0.3.0", "@chainsafe/bls-keygen": "^0.3.0",