Repository navigation
v2.4.1 proposal - #127
Merged
Merged
v2.4.1 proposal#127
Conversation
…rovements (#118) * docs(release-skill): list squash-merged releases and their PRs * docs(release-skill): port false-positive rules and verification steps from pprof-nodejs
Co-authored-by: gh-worker-campaigns-3e9aa4[bot] <244854796+gh-worker-campaigns-3e9aa4[bot]@users.noreply.github.com>
* perf(protobuf): avoid 64-bit splits for 32-bit numbers Large profiles spend time splitting small numeric IDs, counts, and lengths into 64-bit words. Encoding a captured 1,687-sample wall profile falls from 2.54-2.63 ms to 1.85-1.88 ms on Node 24.20.0 (V8 13.6). Results use seven trials of 40 encodes after warmup in two fresh processes. Refs: DataDog/dd-trace-js#11136 * perf(protobuf): share the low-word encoding loop Encoding a captured 1,687-sample wall profile takes 1.63-1.70 ms instead of 1.81-1.96 ms on Node 24.20.0 (V8 13.6). Results use seven trials of 40 encodes after warmup in two fresh processes. Unsigned coercion preserves fractional Number truncation at byte boundaries. Refs: DataDog/dd-trace-js#11136 * perf(protobuf): share low-word size checks A captured 1,687-sample wall profile encodes in 1.43-1.46 ms instead of 1.65-1.67 ms on Node 24.20.0 (V8 13.6). Results use seven trials of 40 encodes after 150 warmups in two fresh processes. Refs: DataDog/dd-trace-js#11136 * refactor(protobuf): expand conditional return blocks
Packed arrays measure their payload twice, and BigInt splitting repeats sign conversion. Captured HTTP profiles encode in 1.351 ms instead of 1.473 ms on Node 24 (V8 13.6). Node 22 (V8 12.4) drops from 1.257 ms to 1.138 ms. Each result averages five of seven fresh processes after warm-up, excluding the fastest and slowest. Refs: DataDog/dd-trace-js#11136
…#125) * perf: write string table bytes at encode time instead of buffering each string StringTable encoded every new string into its own Uint8Array as it was added. A profile with thousands of distinct file paths and function names made thousands of small allocations, and every array over V8's 64-byte on-heap typed array limit got its own off-heap backing store, which adds to V8's external memory. Track each string's UTF-8 length instead and write the bytes straight into the output buffer when the table is encoded. Strings read by decode keep their original bytes so re-encoding stays byte-for-byte identical. * fix(string-table): preserve buffer ownership and capacity checks Buffer.slice() shares the caller's storage, so later input changes corrupt re-encoded string tables. Keep an independent copy of decoded bytes. Buffer.write() and TextEncoder.encodeInto() can truncate strings without throwing. Validate output capacity before encoding. * perf(protobuf): pre-count code units when measuring UTF-8 strings For mixed ASCII names and paths, Node 22.23.4 (V8 12.4.254.21-node.57) takes 113-115 ns per call instead of 133-143 ns. Each of two fresh processes uses seven trials of 262,144 calls, discarding the fastest and slowest. --------- Co-authored-by: Dmitry S. <1832518+nuzayets@users.noreply.github.com>
… 4 updates (#122) Bumps the patch-updates group with 4 updates in the / directory: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) and [tshy](https://github.com/isaacs/tshy). Updates `@types/node` from 26.6.5 to 26.6.6 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 8.72.1 to 8.72.2 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.2/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.72.1 to 8.72.2 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.2/packages/parser) Updates `tshy` from 4.1.3 to 4.1.4 - [Changelog](https://github.com/isaacs/tshy/blob/main/CHANGELOG.md) - [Commits](isaacs/tshy@v4.1.3...v4.1.4) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 26.6.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.72.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: "@typescript-eslint/parser" dependency-version: 8.72.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates - dependency-name: tshy dependency-version: 4.1.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch-updates ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
BridgeAR
approved these changes
Nov 19, 2026
IlyasShabi
approved these changes
Nov 19, 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Improvements
Other (build, dev)