summaryrefslogtreecommitdiff
path: root/benchmark/process/next-tick-breadth-args.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/process/next-tick-breadth-args.js')
-rw-r--r--benchmark/process/next-tick-breadth-args.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/benchmark/process/next-tick-breadth-args.js b/benchmark/process/next-tick-breadth-args.js
index f7f9882c87..03651dbdbb 100644
--- a/benchmark/process/next-tick-breadth-args.js
+++ b/benchmark/process/next-tick-breadth-args.js
@@ -13,16 +13,19 @@ function main({ n }) {
if (j === n)
bench.end(n);
}
+
function cb2(arg1, arg2) {
j++;
if (j === n)
bench.end(n);
}
+
function cb3(arg1, arg2, arg3) {
j++;
if (j === n)
bench.end(n);
}
+
function cb4(arg1, arg2, arg3, arg4) {
j++;
if (j === n)