Uh oh!
There was an error while loading. Please reload this page.
v8: add heap profile API - #60231
Conversation
nodejs-github-bot
commented
Oct 12, 2025
Review requested:
|
70788c9 to
9024efaCompareCodecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #60231 +/- ##
=======================================
Coverage 88.56% 88.57% =======================================
Files 704 704 Lines 208125 208176 +51 Branches 40003 40019 +16 =======================================
+ Hits 184332 184386 +54 - Misses 15809 15822 +13 + Partials 7984 7968 -16
🚀 New features to boost your workflow:
|
Uh oh!
There was an error while loading. Please reload this page.
| @@ -279,6 +279,30 @@ void StopCpuProfile(const FunctionCallbackInfo<Value>& args) { | |||
| } | |||
| } | |||
| void StartHeapProfile(const FunctionCallbackInfo<Value>& args) { | |||
| Isolate* isolate = args.GetIsolate(); | |||
| if (isolate->GetHeapProfiler()->StartSamplingHeapProfiler()) { | |||
There was a problem hiding this comment.
I think it's better for if the API support arguments sample_interval and stack_depth
IlyasShabi
commented
Mar 10, 2026
Hey @theanarkh! are you still planning to work on this feature? |
theanarkh
commented
Mar 12, 2026
I might not have time recently. Could you help implement this feature? |
This pull request has been marked as stale due to 90 days of inactivity. |
Refs: #59807
make -j4 test(UNIX), orvcbuild test(Windows) passes