Skip to content

src: use FastStringKey for TrackV8FastApiCall #59148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

addaleax
Copy link
Member

src: use C++20 consteval for FastStringKey

This makes it easier to avoid unintentional mis-usage of the API.

src: use FastStringKey for TrackV8FastApiCall

This is the exact intended use case of FastStringKey.

addaleax added 2 commits July 21, 2025 18:17
This makes it easier to avoid unintentional mis-usage of the API.
This is the exact intended use case of `FastStringKey`.
@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Jul 21, 2025
Copy link

codecov bot commented Jul 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.04%. Comparing base (48fff6b) to head (b8f6847).
Report is 42 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #59148      +/-   ##
==========================================
- Coverage   90.05%   90.04%   -0.01%     
==========================================
  Files         645      648       +3     
  Lines      189153   190986    +1833     
  Branches    37093    37440     +347     
==========================================
+ Hits       170339   171979    +1640     
- Misses      11518    11625     +107     
- Partials     7296     7382      +86     
Files with missing lines Coverage Δ
src/util-inl.h 81.90% <ø> (-0.33%) ⬇️
src/util.h 91.30% <ø> (ø)

... and 79 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jasnell jasnell added the request-ci Add this label to start a Jenkins CI on a PR. label Jul 21, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 21, 2025
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Jul 22, 2025

@addaleax addaleax added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jul 22, 2025
@jasnell jasnell added commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. labels Jul 22, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 23, 2025
@nodejs-github-bot
Copy link
Collaborator

Landed in 4b289d0...6bb08f7

nodejs-github-bot pushed a commit that referenced this pull request Jul 23, 2025
This makes it easier to avoid unintentional mis-usage of the API.

PR-URL: #59148
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
Reviewed-By: Daeyeon Jeong <[email protected]>
Reviewed-By: Ilyas Shabi <[email protected]>
nodejs-github-bot pushed a commit that referenced this pull request Jul 23, 2025
This is the exact intended use case of `FastStringKey`.

PR-URL: #59148
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
Reviewed-By: Daeyeon Jeong <[email protected]>
Reviewed-By: Ilyas Shabi <[email protected]>
aduh95 pushed a commit that referenced this pull request Jul 25, 2025
This makes it easier to avoid unintentional mis-usage of the API.

PR-URL: #59148
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
Reviewed-By: Daeyeon Jeong <[email protected]>
Reviewed-By: Ilyas Shabi <[email protected]>
aduh95 pushed a commit that referenced this pull request Jul 25, 2025
This is the exact intended use case of `FastStringKey`.

PR-URL: #59148
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
Reviewed-By: Daeyeon Jeong <[email protected]>
Reviewed-By: Ilyas Shabi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants