node/benchmark/crypto
Ali Hassan 2c9436b43d
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-04-10 14:52:23 +02:00
..
aes-gcm-throughput.js
argon2.js crypto: add argon2() and argon2Sync() methods 2025-08-21 19:01:11 +02:00
create-hash.js
create-keyobject.js crypto: add raw key formats support to the KeyObject APIs 2026-04-04 00:01:00 +02:00
get-ciphers.js
hash-stream-creation.js benchmark: fix destructuring in dgram/single-buffer 2026-04-10 14:52:23 +02:00
hash-stream-throughput.js benchmark: fix destructuring in dgram/single-buffer 2026-04-10 14:52:23 +02:00
hkdf.js
kem.js crypto: add raw key formats support to the KeyObject APIs 2026-04-04 00:01:00 +02:00
keygen.js
oneshot-hash.js crypto: implement crypto.hash() 2024-02-27 13:27:19 +01:00
oneshot-sign.js crypto: add raw key formats support to the KeyObject APIs 2026-04-04 00:01:00 +02:00
oneshot-verify.js crypto: add raw key formats support to the KeyObject APIs 2026-04-04 00:01:00 +02:00
randomBytes.js
randomInt.js
randomUUID.js benchmark: use boolean options in benchmark tests 2026-01-19 19:19:29 +01:00
rsa-encrypt-decrypt-throughput.js
rsa-sign-verify-throughput.js benchmark: fix destructuring in dgram/single-buffer 2026-04-10 14:52:23 +02:00
timingSafeEqual.js crypto: make timingSafeEqual faster for Uint8Array 2024-04-08 11:36:53 +00:00
webcrypto-digest.js