Skip to content
Permalink
Browse files

feat(benchmark): Run benchmarks between two commits

  • Loading branch information...
iamthes committed Nov 20, 2017
1 parent a757889 commit 8ecf3b28a6df81601b704cfe861e78feef0606e8
Showing with 9 additions and 0 deletions.
  1. +8 −0 benchmarks/parse-module-node.ts
  2. +1 −0 package.json
@@ -0,0 +1,8 @@
import { parse } from '../src/index';
import { readFileSync } from 'fs';
const nodeDefinitions = readFileSync(require.resolve('@types/node/index.d.ts'), { encoding: 'utf8' });
function parseNodeDefinitions(done) {
parse(nodeDefinitions);
done();
}
export = parseNodeDefinitions;
@@ -40,6 +40,7 @@
"@types/mocha": "^2.2.44",
"@types/node": "^8.0.53",
"@types/resolve": "0.0.4",
"benchmarko": "0.0.1",
"chokidar-cli": "^1.2.0",
"concurrently": "^3.5.0",
"cz-conventional-changelog": "^2.1.0",

0 comments on commit 8ecf3b2

Please sign in to comment.
You can’t perform that action at this time.