Skip to content

Conversation

theanarkh
Copy link
Contributor

Refs: #59428, #59429

  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/web-infra

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Sep 8, 2025
@theanarkh theanarkh force-pushed the v8_add_cpu_profile_api branch from 7214ba0 to 7dcb480 Compare September 8, 2025 13:50
@theanarkh theanarkh added v8 module Issues and PRs related to the "v8" subsystem. semver-minor PRs that contain new features and should be released in the next minor version. labels Sep 8, 2025
Copy link

codecov bot commented Sep 8, 2025

Codecov Report

❌ Patch coverage is 86.15385% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.45%. Comparing base (24ded11) to head (10b2275).
⚠️ Report is 25 commits behind head on main.

Files with missing lines Patch % Lines
src/node_v8.cc 77.41% 2 Missing and 5 partials ⚠️
lib/v8.js 94.11% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #59807      +/-   ##
==========================================
- Coverage   88.45%   88.45%   -0.01%     
==========================================
  Files         703      703              
  Lines      207544   207609      +65     
  Branches    40013    40026      +13     
==========================================
+ Hits       183587   183638      +51     
+ Misses      15965    15957       -8     
- Partials     7992     8014      +22     
Files with missing lines Coverage Δ
src/node_v8.h 40.00% <ø> (ø)
lib/v8.js 99.02% <94.11%> (-0.35%) ⬇️
src/node_v8.cc 80.63% <77.41%> (-0.64%) ⬇️

... and 41 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.

Copy link
Member

@juanarbol juanarbol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubber stamp LGTM!

I wasn't expecting the serializer to land Node.js! <3

@juanarbol juanarbol added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 8, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 8, 2025
@nodejs-github-bot
Copy link
Collaborator

@theanarkh theanarkh force-pushed the v8_add_cpu_profile_api branch 2 times, most recently from b41c98b to d50d6e9 Compare September 10, 2025 18:01
@theanarkh theanarkh force-pushed the v8_add_cpu_profile_api branch from d50d6e9 to ff0cced Compare September 14, 2025 14:25
const handle = v8.startCpuProfile();
const profile = handle.stop();
assert.ok(typeof profile === 'string');
assert.ok(profile.length > 0);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: a test that exercises the using syntax would be ideal also

@theanarkh theanarkh added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 15, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 15, 2025
@nodejs-github-bot
Copy link
Collaborator

@theanarkh theanarkh added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Sep 16, 2025
@theanarkh theanarkh force-pushed the v8_add_cpu_profile_api branch from bf4b7cf to 10b2275 Compare September 23, 2025 12:55
@theanarkh theanarkh removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 23, 2025
@theanarkh theanarkh added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 28, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 28, 2025
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

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++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. semver-minor PRs that contain new features and should be released in the next minor version. v8 module Issues and PRs related to the "v8" subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants