| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1164,6 +1164,9 @@ V8 options that are allowed are: | |||
| 1164 | 1164 | * `--stack-trace-limit` | |
| 1165 | 1165 | <!-- node-options-v8 end --> | |
| 1166 | 1166 | ||
| 1167 | + `--perf-basic-prof-only-functions`, `--perf-basic-prof`, | ||
| 1168 | + `--perf-prof-unwinding-info`, and `--perf-prof` are only available on Linux. | ||
| 1169 | + | ||
| 1167 | 1170 | ### `NODE_PATH=path[:…]` | |
| 1168 | 1171 | <!-- YAML | |
| 1169 | 1172 | added: v0.1.32 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -48,15 +48,14 @@ expectNoWorker('--trace-event-file-pattern {pid}-${rotation}.trace_events ' + | |||
| 48 | 48 | '--trace-event-categories node.async_hooks', 'B\n'); | |
| 49 | 49 | expect('--unhandled-rejections=none', 'B\n'); | |
| 50 | 50 | ||
| 51 | - if (!common.isWindows) { | ||
| 51 | + if (common.isLinux) { | ||
| 52 | 52 | expect('--perf-basic-prof', 'B\n'); | |
| 53 | 53 | expect('--perf-basic-prof-only-functions', 'B\n'); | |
| 54 | - } | ||
| 55 | 54 | ||
| 56 | - if (common.isLinux && ['arm', 'x64'].includes(process.arch)) { | ||
| 57 | - // PerfJitLogger is only implemented in Linux. | ||
| 58 | - expect('--perf-prof', 'B\n'); | ||
| 59 | - expect('--perf-prof-unwinding-info', 'B\n'); | ||
| 55 | + if (['arm', 'x64'].includes(process.arch)) { | ||
| 56 | + expect('--perf-prof', 'B\n'); | ||
| 57 | + expect('--perf-prof-unwinding-info', 'B\n'); | ||
| 58 | + } | ||
| 60 | 59 | } | |
| 61 | 60 | ||
| 62 | 61 | if (common.hasCrypto) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments