mix raxol.perf.monitor (Raxol v2.0.1)
View SourceAutomated performance monitoring task for Raxol.
This task provides comprehensive performance monitoring capabilities:
- Start/stop continuous monitoring
- View real-time performance metrics
- Check for performance regressions
- Configure alert thresholds
- Generate performance reports
Usage
# Start monitoring with default settings
mix raxol.perf.monitor start
# Start with custom thresholds
mix raxol.perf.monitor start --render-threshold 20 --memory-threshold 100
# View current status
mix raxol.perf.monitor status
# Check for regressions
mix raxol.perf.monitor regression-check
# Generate performance report
mix raxol.perf.monitor report --output performance_report.json
# Stop monitoring
mix raxol.perf.monitor stopOptions
--render-threshold- Maximum average render time in ms (default: 16.67)--memory-threshold- Maximum memory usage in MB (default: 50)--parse-threshold- Maximum parse time in microseconds (default: 500)--error-threshold- Maximum error rate percentage (default: 1.0)--output- Output file for reports (default: stdout)--format- Report format: json, csv, or text (default: text)