All checks were successful
Build and Release / build-and-release (push) Successful in 1m12s
Implement event-driven rendering to dramatically reduce CPU usage. Only render when something actually changes instead of constantly rendering at 20 FPS. Changes: - Increase poll timeout from 50ms to 200ms (5 FPS) - Add needs_render flag to track when rendering is required - Trigger rendering only on: user input, new metrics, heartbeat checks, or terminal resize events - Reset render flag after each render cycle Based on cm-player optimization approach.
22 lines
587 B
TOML
22 lines
587 B
TOML
[package]
|
|
name = "cm-dashboard"
|
|
version = "0.1.266"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
cm-dashboard-shared = { workspace = true }
|
|
tokio = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
chrono = { workspace = true }
|
|
clap = { workspace = true }
|
|
zmq = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
ratatui = { workspace = true }
|
|
crossterm = { workspace = true }
|
|
toml = { workspace = true }
|
|
gethostname = { workspace = true }
|
|
wake-on-lan = "0.2" |