-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
src: Add new perf flags in NODE_OPTIONS #25565
Conversation
@gireeshpunathil would be interested in this, it looks like it is from the node-report tests. Can you look at the output file and see what is invalid about the JSON, and perhaps comment on #22712? |
I think the commits themselves might need to be reworked a bit. It seems like related changes are not grouped together logically. For example, the first commit adds docs for things that aren't in the code yet. I'd suggest doing one commit for the doc/test/src changes for |
Sure I can do that, what would the commit message be for the grouped changes? just |
I think just |
ae16eb0
to
4d24591
Compare
Thanks for the feedback, updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
As far as I can see the failure is a flakey test, if i am mistaken let me know what I need to fix:
|
the escape characters covered in the report values were not comprehensive, so probably we missed a character or two that was present in the user's |
Resume Build CI: https://ci.nodejs.org/job/node-test-commit/25296/ |
the resume build was instantly aborted fully for some reason. full CI: https://ci.nodejs.org/job/node-test-pull-request/20318/ |
4d24591
to
dd4518a
Compare
That fix seems to have worked for me 👏 |
PR-URL: #25565 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #25565 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #25565 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: #25565 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]>
Any concern around interpreted frames and Linux Perf and the lack of V8 support? https://nodejs.org/en/docs/guides/diagnostics-flamegraph/#node-js-10 You can find more context here: In nutshell Linux Perf was never supported by V8 and it doesn't work with interpreted frames by default, although the new CodeEventListenerAPI it is and works well. |
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) passesTests are failing on my machine, but they don't seem relevant to the changes I have made, also the tests on CI have passed.