node/benchmark/dgram
Ali Hassan 9c1c08e73a
benchmark: fix destructuring in dgram/single-buffer
PR #59872 renamed the config key from `num` to `n` but did not update
the destructuring in main(), leaving `{ num: n }` which resolves to
undefined. This caused the benchmark to produce near-zero throughput
since the send-batching logic never fires when n is undefined.

Refs: https://github.com/nodejs/node/pull/59872
PR-URL: https://github.com/nodejs/node/pull/62084
Refs: https://github.com/nodejs/performance/issues/187
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2026-03-16 18:16:39 +00:00
..
array-vs-concat.js
bind-params.js
multi-buffer.js benchmark: calibrate config dgram multi-buffer 2025-09-14 00:39:40 +00:00
offset-length.js benchmark: adjust dgram offset-length len values 2025-09-24 14:11:58 +00:00
send-types.js dgram: restore buffer optimization in fixBufferList 2025-09-21 17:50:41 +00:00
single-buffer.js benchmark: fix destructuring in dgram/single-buffer 2026-03-16 18:16:39 +00:00