nodejs_profile
Profile Node.js application performance using the built-in Node.js profiler. Generate CPU and heap profiles to identify bottlenecks.
Instructions
Profile Node.js application performance using built-in Node.js profiler
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Additional arguments | |
| script | No | Script to profile (default: start) | |
| timeout | No | Command timeout in milliseconds | |
| duration | No | Profile duration in seconds | |
| directory | No | Working directory | |
| outputDir | No | Output directory for profile files | |
| cpuProfile | No | Generate CPU profile | |
| heapProfile | No | Generate heap profile |