Performance: Running scripts with node command
MEDIUM IMPACT
This affects the startup time and initial execution speed of Node.js scripts, impacting how quickly the script begins running and responds.
node script.js
node script.js --inspect --trace-warnings --experimental-modules
| Pattern | Startup Time | Memory Usage | Execution Delay | Verdict |
|---|---|---|---|---|
| node script.js --inspect --trace-warnings | High (extra 100-300ms) | Higher | Delayed start | [X] Bad |
| node script.js | Low (minimal startup) | Lower | Fast start | [OK] Good |