elastic-dashboard icon indicating copy to clipboard operation
elastic-dashboard copied to clipboard

Use ValueListenableBuilder for NT widget state

Open Gold872 opened this issue 4 months ago • 1 comments

Instead of using StreamBuilders which can be slow, constantly create futures and timers, and don't work well with multi-topic widgets, ValueListenableBuilders only get called when the subscription actually updates.

CPU usage has decreased by 10-15%

Gold872 avatar Oct 08 '24 04:10 Gold872