| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 51a8e1d commit 464df6d
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -475,6 +475,8 @@ Node options that are allowed are: | |||
| 475 | 475 | V8 options that are allowed are: | |
| 476 | 476 | - `--abort-on-uncaught-exception` | |
| 477 | 477 | - `--max-old-space-size` | |
| 478 | + - `--perf-basic-prof` | ||
| 479 | + - `--perf-prof` | ||
| 478 | 480 | - `--stack-trace-limit` | |
| 479 | 481 | ||
| 480 | 482 | ### `NODE_PENDING_DEPRECATION=1` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3871,6 +3871,8 @@ static void CheckIfAllowedInEnv(const char* exe, bool is_env, | |||
| 3871 | 3871 | "--icu-data-dir", | |
| 3872 | 3872 | ||
| 3873 | 3873 | // V8 options (define with '_', which allows '-' or '_') | |
| 3874 | + "--perf_prof", | ||
| 3875 | + "--perf_basic_prof", | ||
| 3874 | 3876 | "--abort_on_uncaught_exception", | |
| 3875 | 3877 | "--max_old_space_size", | |
| 3876 | 3878 | "--stack_trace_limit", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -26,6 +26,15 @@ expect('--zero-fill-buffers', 'B\n'); | |||
| 26 | 26 | expect('--v8-pool-size=10', 'B\n'); | |
| 27 | 27 | expect('--trace-event-categories node', 'B\n'); | |
| 28 | 28 | ||
| 29 | + if (!common.isWindows) { | ||
| 30 | + expect('--perf-basic-prof', 'B\n'); | ||
| 31 | + } | ||
| 32 | + | ||
| 33 | + if (common.isLinux && ['arm', 'x64', 'mips'].includes(process.arch)) { | ||
| 34 | + // PerfJitLogger is only implemented in Linux. | ||
| 35 | + expect('--perf-prof', 'B\n'); | ||
| 36 | + } | ||
| 37 | + | ||
| 29 | 38 | if (common.hasCrypto) { | |
| 30 | 39 | expect('--use-openssl-ca', 'B\n'); | |
| 31 | 40 | expect('--use-bundled-ca', 'B\n'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments