src: split profiling helpers from util#63008
Conversation
Signed-off-by: ishabi <[email protected]>
|
Review requested:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #63008 +/- ##
========================================
Coverage 89.64% 89.64%
========================================
Files 707 710 +3
Lines 219509 220322 +813
Branches 42095 42255 +160
========================================
+ Hits 196775 197511 +736
- Misses 14628 14660 +32
- Partials 8106 8151 +45
🚀 New features to boost your workflow:
|
| @@ -0,0 +1,59 @@ | |||
| // Copyright Joyent, Inc. and other Node contributors. | |||
There was a problem hiding this comment.
Is this file header necessary for these new files?
There was a problem hiding this comment.
Shouldn't we add the copyright for new created files?
There was a problem hiding this comment.
@IlyasShabi we do not add license headers for new files. Also I think it is quite dismissive to land the PR while there is an open question
There was a problem hiding this comment.
I merged it after the CI finally passed and didn’t think your comment was blocking.
I see you opened a PR to remove it. Thanks
|
Landed in 9ab960a |
Move CPU and heap profiling option parsing and heap profile serialization helpers to new file
src/node_profiling.cthis keep util smaller and have a profiling dedicated file.