Skip to content

Commit

Permalink
bump semver (#137) and fix tools/perf.js
Browse files Browse the repository at this point in the history
  • Loading branch information
trentm committed Aug 28, 2020
1 parent cc47981 commit ffeaab4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"shell"
],
"devDependencies": {
"uglify-js": "1.1.x",
"nodeunit": "0.8.x",
"ansidiff": "1.0",
"ben": "0.0.x",
"async": "0.1.22",
"semver": "1.1.0"
"ben": "0.0.x",
"nodeunit": "0.8.x",
"semver": "^6.3.0",
"uglify-js": "1.1.x"
}
}
12 changes: 5 additions & 7 deletions tools/perf.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ versions.push('dev');
versions.reverse();

var nodes = [
//'node11',
'node10',
'node8',
'node6'
'~/.nvm/versions/node/v14.3.0/bin/node',
'~/.nvm/versions/node/v12.16.3/bin/node',
'~/.nvm/versions/node/v10.20.1/bin/node'
];

var cmds = [
Expand Down Expand Up @@ -73,9 +72,8 @@ async.forEachSeries(cmds, function (cmdInfo, nextCmd) {
});
}
ben.async(runCmd, function (ms) {
var space = (version === 'dev' ? ' ' : ''); // HACK
console.log('- %s, json %s%s: %dms per iteration%s', node,
space, version, ms, (fail ? ' (fail)' : ''));
console.log('- %s, json %s: %dms per iteration%s', node,
version, ms, (fail ? ' (fail)' : ''));
nextVer();
});
}, nextNode);
Expand Down

0 comments on commit ffeaab4

Please sign in to comment.