Repository navigation
Conversation
Overall package sizeSelf size: 3.02 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | pprof-format | 2.4.1 | 924.37 kB | 924.37 kB | | source-map | 0.8.0 | 185.66 kB | 185.66 kB | | node-gyp-build | 4.8.4 | 13.86 kB | 13.86 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
❌ ErrorsYour PR has failed checks. Please review the issues below and take necessary action before merging. 🚦 1 Pipeline job failed
Useful? React with 👍 / 👎 This comment will be updated automatically if new data arrives.🔗 Commit SHA: b90147d | Docs | View more details | Give us feedback! |
BridgeAR
marked this pull request as ready for review
November 25, 2026 18:54
BridgeAR
requested review from
IlyasShabi,
nsavoire,
r1viollet and
szegedi
as code owners
November 25, 2026 18:54
BridgeAR
force-pushed
the
BridgeAR/2026-11-25-prepared-profile-arrays
branch
from
November 26, 2026 10:48
5f03950 to
29742cb
Compare
szegedi
requested changes
Nov 26, 2026
szegedi
left a comment
Collaborator
There was a problem hiding this comment.
I'd push back on undefined for lowCardinalityLabels, and would like to see a comment explaining why are we doing this.
BridgeAR
force-pushed
the
BridgeAR/2026-11-25-prepared-profile-arrays
branch
from
November 27, 2026 16:53
29742cb to
2a834ff
Compare
The serializer already owns the normalized label, sample, and location arrays. It can use them without asking the codec to walk them again. Repeated builds through the public builder still copy the profile arrays. With pprof-format 2.4.1 on Node 24.22.1 Alpine, replaying a 6,113-sample NestJS wall profile used 13.14 ms of serializer CPU instead of 15.06 ms. The encoded profile did not change. Refs: DataDog/dd-trace-js#11136
An omitted label list leaves the cache empty. Array ownership matters when building the profile, where the one-shot caller can select adoption.
V8 can call the near-heap-limit handler after repeated ineffective collections while live old-generation usage is below the restore threshold. It can then restore the original limit before the fixture reads the extension.
BridgeAR
force-pushed
the
BridgeAR/2026-11-25-prepared-profile-arrays
branch
from
November 30, 2026 14:13
2a834ff to
b90147d
Compare
This branch has not been deployed
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.
The serializer already owns the normalized label, sample, and location
arrays. It can use them without asking the codec to walk them again.
Repeated builds through the public builder still copy the profile arrays.
With pprof-format 2.4.1 on Node 24.22.1 Alpine, replaying a 6,113-sample
NestJS wall profile used 13.14 ms of serializer CPU instead of 15.06 ms.
The encoded profile did not change.
Refs: DataDog/dd-trace-js#11136