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 |
BridgeAR
force-pushed
the
BridgeAR/2026-11-19-label-cache
branch
from
November 25, 2026 15:14
80c04e7 to
32ec845
Compare
❌ 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: 4af191d | Docs | View more details | Give us feedback! |
Repeated labels such as thread names allocate a Label for each sample, even when the serializer already has a matching object. Check the per-profile cache before allocating so one pass builds the label array without changing which objects are shared. Replaying a 5,972-sample wall profile with the locked pprof-format dependency on Node 26 reduced profile construction from 2.32 ms to 2.13 ms (8%). Construction plus the synchronous part of encodeAsync() fell from 4.53 ms to 4.32 ms (5%). The encoded bytes match.
V8 can grant 12 MiB of automatic headroom. The restoration fixture requires an increase greater than 16 MiB, so it keeps allocating until V8 aborts before the test can release the retained objects.
BridgeAR
force-pushed
the
BridgeAR/2026-11-19-label-cache
branch
from
November 25, 2026 17:23
e52c6db to
4af191d
Compare
BridgeAR
marked this pull request as ready for review
November 25, 2026 17:40
BridgeAR
requested review from
IlyasShabi,
nsavoire,
r1viollet and
szegedi
as code owners
November 25, 2026 17:40
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.
Repeated labels such as thread names allocate a
Labelfor each sample, even when the serializer already has a matching object. Check the per-profile cache before allocating so one pass builds the label array without changing which objects are shared.Replaying a 5,972-sample wall profile with the locked
pprof-formatdependency on Node 26 reduced profile construction from 2.32 ms to 2.13 ms (8%). Construction plus the synchronous part ofencodeAsync()fell from 4.53 ms to 4.32 ms (5%). The encoded bytes match.How to test the change? Run the profile serializer tests. The label test checks that cache hits share objects without changing label values or order.