-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Allow --perf-prof and --perf-basic-prof in NODE_OPTIONS #17600
Changes from 4 commits
b778ba1
b35f846
1b7a8d1
702bd35
0899557
81a0684
b97987a
e32f7a4
d9e8573
c436f72
8b7d8be
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,13 @@ expect('--throw-deprecation', 'B\n'); | |
expect('--zero-fill-buffers', 'B\n'); | ||
expect('--v8-pool-size=10', 'B\n'); | ||
expect('--trace-event-categories node', 'B\n'); | ||
expect('--perf-basic-prof', 'B\n'); | ||
|
||
if (common.isLinux) { | ||
// PerfJitLogger is only implemented in Linux. | ||
// https://github.com/nodejs/node/pull/17600#issuecomment-350664113 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's safe to drop the GitHub link. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @cjihrig Thank you for review. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Leko FWIW this is written in the comments in |
||
expect('--perf-prof', 'B\n'); | ||
} | ||
|
||
if (common.hasCrypto) { | ||
expect('--use-openssl-ca', 'B\n'); | ||
|
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.
This needs to be wrapped in
if (!common.isWindows)
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.
I fixed it. Please re-run CI.