934 B
934 B
Track Specification: Performance Dashboard (performance_dashboard_20260306)
Overview
Expand performance metrics panel with CPU/RAM usage, frame time, input lag with historical graphs. Uses existing performance_monitor.py which has basic metrics but no visualization.
Architectural Constraints
- 60fps Constraint: Metrics collection MUST NOT impact frame rate.
- Thread Safety: Cross-thread metrics MUST use proper synchronization.
Functional Requirements
- CPU/RAM Graphs: Display rolling CPU and RAM usage over time.
- Frame Time: Show frame time histogram.
- Input Lag: Track and display input-to-response latency.
- Historical Data: Maintain rolling window of metrics history.
Acceptance Criteria
- CPU graph shows rolling history.
- RAM graph shows rolling history.
- Frame time histogram displays.
- Input lag metrics tracked.
- Uses existing performance_monitor.py.