Skip to content

Commit

Permalink
fix npm run perf
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Sep 17, 2019
1 parent 83721c9 commit e59611d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.js
Expand Up @@ -988,7 +988,7 @@ function createConfigForPerformanceTest() {
function time(cmd, runs, runNumber, results, cb) {
const start = process.hrtime();

exec(cmd, { silent: true }, (code, stdout, stderr) => {
exec(cmd, { maxBuffer: 64 * 1024 * 1024, silent: true }, (code, stdout, stderr) => {
const diff = process.hrtime(start),
actual = (diff[0] * 1e3 + diff[1] / 1e6); // ms

Expand Down

0 comments on commit e59611d

Please sign in to comment.