summaryrefslogtreecommitdiff
path: root/benchmark/timers/timers-timeout-nexttick.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/timers/timers-timeout-nexttick.js')
-rw-r--r--benchmark/timers/timers-timeout-nexttick.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmark/timers/timers-timeout-nexttick.js b/benchmark/timers/timers-timeout-nexttick.js
index 781e505ae4..638d8aec14 100644
--- a/benchmark/timers/timers-timeout-nexttick.js
+++ b/benchmark/timers/timers-timeout-nexttick.js
@@ -19,9 +19,11 @@ function main({ n }) {
function cb() {
process.nextTick(counter);
}
+
function cb2() {
process.nextTick(counter);
}
+
function counter() {
count++;
if (count === n)