Slow load of dashboard and high CPU usage on endpoint

Hello,

I hope some of you can help me with the issue I have. I’m building a dashboard based on the UI Minimalist integration. Building the dashboard works fine but I’m observing the following:

  • Slow load of the page
  • High CPU usage on endpionts

Slow load of the page
When reloading the page or refreshing after a change it takes quite some time before the whole page is build.

The page is build with includes from different folders so that I can reuse the created cards on different dashboards. Information for different rooms is shown with a state-switch.
image

I tried putting everything in one big YAML file but this didn’t seem to help. What could be the problem? Maybe to many sensors which are constantly monitored to show changes?

High CPU usage on endpionts
On my Windows notebook (with Edge browser) the page uses around 10~20% CPU usage constantly when active, somethimes it peaks to 30%. I’m not clicking on things or doing things, just keeping it as the active page. Memory usage is around 800MB to 1000MB but sometimes this also grows.

Home assistant
Home assistant is running on a VM on an Unraid host with 4 vCPUs and 4GB of memory. VM is running on a NVMe pool. Database is running in a docker container on the same Unraid host on the same NVMe storage.

Anyone some idea what it could be or some tracing steps I can take to find a potential issue?