summaryrefslogtreecommitdiff
path: root/benchmark/timers/timers-breadth-args.js
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/timers/timers-breadth-args.js')
-rw-r--r--benchmark/timers/timers-breadth-args.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/benchmark/timers/timers-breadth-args.js b/benchmark/timers/timers-breadth-args.js
index 5f91603caa..bdb3adbbec 100644
--- a/benchmark/timers/timers-breadth-args.js
+++ b/benchmark/timers/timers-breadth-args.js
@@ -12,16 +12,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)