Optimize frontend rendering: delta updates, rAF debouncing, cached DOM refs
- Disable Chart.js animations on real-time FPS and perf charts - Dashboard: delta-update profile badges on state changes instead of full DOM rebuild - Dashboard: cache querySelector results in Map for metrics update loop - Dashboard: debounce poll interval slider restart (300ms) - Calibration: debounce ResizeObserver and span drag via requestAnimationFrame - Calibration: batch updateCalibrationPreview canvas render into rAF Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -77,7 +77,7 @@ function _createChart(canvasId, color, fillColor) {
|
||||
options: {
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
animation: true,
|
||||
animation: false,
|
||||
plugins: { legend: { display: false }, tooltip: { enabled: false } },
|
||||
scales: {
|
||||
x: { display: false },
|
||||
|
||||
Reference in New Issue
Block a user