Node.js Performance Platform provides the following features:
Performance monitoring
System level
Provides the following metrics for servers, such as physical machines, virtual machines, and Docker containers:
- Memory usage
- CPU usage
- System load
- System QPS
- Core performance metrics
- Disk usage
- Garbage collection (GC) statistics
- ...
Process level
Provides the following metrics for each Node.js process:
- Heap (total and used) and off-heap memory statistics
- Memory usage statistics for each space within the heap
- GC time as a percentage of total process runtime
- QPS
- CPU statistics at 1 s, 15 s, 30 s, and 60 s intervals
- libuv handle and timer statistics
- ...
Security alerts
- Alerts for security vulnerabilities in npm modules
Troubleshooting
- CPU profiling to identify hot spot functions.
- Heap snapshot analysis to identify potential memory leaks.
- GC process tracing
- Heap timeline
- ...
Performance optimization
- Performance optimization suggestions.
该文章对您有帮助吗?