Expand description
Performance Profiling Helpers
Provides tools for measuring and analyzing system performance:
- Message latency tracking
- Throughput measurement
- CPU and memory profiling
- Node execution timing
- Statistical analysis
§Features
- Zero-copy metrics collection
- Low overhead (< 1% CPU)
- Statistical aggregation (min, max, mean, p50, p95, p99)
- Time-series data export
- Real-time monitoring
Structs§
- Execution
Stats - Execution statistics
- Latency
Stats - Latency statistics
- Memory
Stats - Memory statistics
- Performance
Metrics - Performance metrics collector
- Performance
Report - Complete performance report
- Throughput
Stats - Throughput statistics
- Timer
Guard - Timer guard for automatic timing
Traits§
- Profiling
Ext - Extension trait for Context to add profiling
Functions§
- measure_
latency - Helper to measure message latency