src: Add new perf flags in NODE_OPTIONS
I have added the following flags to be whitelisted for inclusion in NODE_OPTIONS:
--perf-basic-prof-only-functions
--perf-prof-unwinding-info
docs, src and tests having been updated.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Tests are failing on my machine, but they don't seem relevant to the changes I have made, also the tests on CI have passed.
=== release test-exception ===
Path: node-report/test-exception
undefined:223
"LESS_TERMCAP_me": "",
^
SyntaxError: Unexpected token n JSON at position 6966
at JSON.parse (<anonymous>)
at Object.validateContent (/home/tomgco/Projects/node/test/common/report.js:36:23)
at fs.readFile (/home/tomgco/Projects/node/test/common/report.js:30:10)
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:54:3)
Command: out/Release/node /home/tomgco/Projects/node/test/node-report/test-exception.js