| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -497,6 +497,15 @@ $ ls *.cpuprofile | |||
| 497 | 497 | CPU.20190409.202950.15293.0.0.cpuprofile | |
| 498 | 498 | ``` | |
| 499 | 499 | ||
| 500 | + If `--cpu-prof-name` is specified, the provided value will be used as-is; patterns such as | ||
| 501 | + `${hhmmss}` or `${pid}` are not supported. | ||
| 502 | + | ||
| 503 | + ```console | ||
| 504 | + $ node --cpu-prof --cpu-prof-name 'CPU.${pid}.cpuprofile' index.js | ||
| 505 | + $ ls *.cpuprofile | ||
| 506 | + 'CPU.${pid}.cpuprofile' | ||
| 507 | + ``` | ||
| 508 | + | ||
| 500 | 509 | ### `--cpu-prof-dir` | |
| 501 | 510 | ||
| 502 | 511 | <!-- YAML | |
| Back | FazBrowse Home | New Git URL |
0 commit comments