process: improve nextTick() performance · nodejs/node@e30fc2c · GitHub
Skip to content

Commit e30fc2c

Browse files
mscdexaddaleax
authored andcommitted
process: improve nextTick() performance
PR-URL: #13446 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
1 parent 864abc5 commit e30fc2c

3 files changed

Lines changed: 97 additions & 45 deletions

File tree

benchmark/process/next-tick-depth-args.js

Lines changed: 1 addition & 1 deletion

benchmark/process/next-tick-depth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22
var common = require('../common.js');
33
var bench = common.createBenchmark(main, {
4-
millions: [2]
4+
millions: [12]
55
});
66

77
process.maxTickDepth = Infinity;

lib/internal/process/next_tick.js

Lines changed: 95 additions & 43 deletions

0 commit comments

Comments
 (0)