Skip to content

deps: V8: cherry-pick 8e374caa66ce - #66526

Open
IlyasShabi wants to merge 1 commit into
nodejs:mainfrom
IlyasShabi:ishabi/v8-backport-profiler-internalize
Open

IlyasShabi wants to merge 1 commit into
nodejs:mainfrom
IlyasShabi:ishabi/v8-backport-profiler-internalize

Conversation

@IlyasShabi

Copy link
Copy Markdown
Member

Original commit message:

[profiler] Internalize string script names directly

Avoid converting script names to UTF-8 by internalizing String names
directly. Keep the existing conversion for Symbol names and use the
canonical empty string for unnamed scripts.

This improved profile retrieval performance by ~30% in local benchmarks.

Change-Id: I5eb6e8fa79517dc4902ddc1f26d75a9dd228ef39
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8449311
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#110089}

Refs: v8/v8@8e374ca

Original commit message:

    [profiler] Internalize string script names directly

    Avoid converting script names to UTF-8 by internalizing String names
    directly. Keep the existing conversion for Symbol names and use the
    canonical empty string for unnamed scripts.

    This improved profile retrieval performance by ~30% in local benchmarks.

    Change-Id: I5eb6e8fa79517dc4902ddc1f26d75a9dd228ef39
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8449311
    Reviewed-by: Camillo Bruni <cbruni@chromium.org>
    Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
    Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#110089}

Refs: v8/v8@8e374ca
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/security-wg
  • @nodejs/v8-update

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. v8 engine Issues and PRs related to the V8 dependency. labels Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants