Skip to content

benchmark: fix destructuring in dgram/single-buffer and update N convention in crypto#62084

Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom
thisalihassan:fix/dgram-single-buffer-destructuring
Mar 16, 2026
Merged

benchmark: fix destructuring in dgram/single-buffer and update N convention in crypto#62084
nodejs-github-bot merged 1 commit intonodejs:mainfrom
thisalihassan:fix/dgram-single-buffer-destructuring

Conversation

@thisalihassan
Copy link
Contributor

#59872 renamed the config key from num to n but did not update the destructuring in main()
Rename the writes config parameter to n in three crypto benchmark files to align with the standard iteration-count convention

Refs: #59872
Refs: nodejs/performance#187

PR nodejs#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: nodejs#59872
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/performance

@nodejs-github-bot nodejs-github-bot added benchmark Issues and PRs related to the benchmark subsystem. crypto Issues and PRs related to the crypto subsystem. dgram Issues and PRs related to the dgram subsystem / UDP. labels Mar 3, 2026
@thisalihassan
Copy link
Contributor Author

Hi @RafaelGSS @lpinca CI is green now. Is this ready to land?

@RafaelGSS RafaelGSS added commit-queue Add this label to land a pull request using GitHub Actions. author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Mar 16, 2026
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 16, 2026
@nodejs-github-bot nodejs-github-bot merged commit 9c1c08e into nodejs:main Mar 16, 2026
45 of 46 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 9c1c08e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. benchmark Issues and PRs related to the benchmark subsystem. crypto Issues and PRs related to the crypto subsystem. dgram Issues and PRs related to the dgram subsystem / UDP.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants