You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes the hex part of #60249 and improves Buffer#toString('hex') 2-4x
In local tests on a MacBook, this improves .toString('hex') throughput from ~2.24 GiB/s to ~9.53 GiB/s on ~80 KiB chunks
For comparison, Uint8Array#toHex() shows 3.28 GiB/s.
ChALkeR
changed the title
deps: rewrite HexEncode impl
deps: update nbytes for HexEncode perf
Feb 18, 2026
ChALkeR
added
the
request-ci
Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review.
label
Feb 18, 2026
github-actionsBot
added
request-ci-failed
Starting CI with the request-ci label failed and requires manual intervention.
and removed
request-ci
Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review.
labels
Feb 18, 2026
Note: this doesn't bump the version in header, like #61270 didn't bump it from 0.1.1 to 0.1.2
So it's still set there at 0.1.1
That is observable in process.versions.nbytes
ChALkeR
added
request-ci
Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review.
and removed
request-ci-failed
Starting CI with the request-ci label failed and requires manual intervention.
labels
Feb 18, 2026
Note: this doesn't bump the version in header, like #61270 didn't bump it from 0.1.1 to 0.1.2
So it's still set there at 0.1.1 That is observable in process.versions.nbytes
Did you use tools/dep_updaters/update-nbytes.sh? Honestly I feel like we should only use the bot to update deps, fewer surprises and less work for everyone.
aduh95
removed
the
request-ci
Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review.
label
Feb 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependenciesPRs that add, update, or configure Node.js dependencies.needs-ciPRs that need a full CI run.performanceIssues and PRs related to the performance of Node.js.
6 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs: nodejs/nbytes#12
Refs: nodejs/nbytes#13
Fixes the hex part of #60249 and improves
Buffer#toString('hex')2-4xIn local tests on a MacBook, this improves
.toString('hex')throughput from ~2.24 GiB/sto ~9.53 GiB/son ~80 KiB chunksFor comparison,
Uint8Array#toHex()shows3.28 GiB/s.Benchmark CI: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/1790/console