# Bad perfomances on Dashboard

**URL:** https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614
**Category:** Dashboard
**Created:** [8 June 2022 12:15 UTC](https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614 "2022-06-08T12:15:39Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)
#### Post date: [8 June 2022 12:15 UTC](https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614/1 "2022-06-08T12:15:39Z")

</div>

I have a large dashboard (around 15 tabs). Upon loading the Dashboard I notice a very long time before I can get it working. As it is quite annoying, I made a Lighthouse report on it (attached) and - as you can see - the problems of the slow operation are all out of my control. Perfomance index: 19%. It looks like the dashboard palette itself has bad performance, but I hope I am wrong and that I can do something to improve it.

Ideas?

[LilioRED\_summary.pdf](https://discourse.nodered.org/uploads/short-url/nrpDF4JkB3G3gb5B6iUp0497YS9.pdf) (259.9 KB)

---

<div class="post-metadata">

### Author: ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)
#### Post date: [8 June 2022 13:42 UTC](https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614/2 "2022-06-08T13:42:32Z")

</div>

Maybe you can tell us on what device and OS node red is running.  
I know that on a rabo reader it works not good.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [8 June 2022 14:26 UTC](https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614/3 "2022-06-08T14:26:16Z")

</div>

How many graphs? If you have any, how much do you send to them and how often?

---

<div class="post-metadata">

### Author: ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)
#### Post date: [8 June 2022 14:38 UTC](https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614/4 "2022-06-08T14:38:14Z")

</div>

> [@edje11](#):
>
> Maybe you can tell us on what device and OS node red is running.

You're right, sorry. It is running on a Raspberry 3B+

---

<div class="post-metadata">

### Author: ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)
#### Post date: [8 June 2022 14:39 UTC](https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614/5 "2022-06-08T14:39:29Z")

</div>

> [@zenofmud](#):
>
> How many graphs? If you have any, how much do you send to them and how often?

Just one, small, it is updated on request. Anyway, if you read the report from Lighthouse, you'll see that problems are not into the flows, but (according to what they say), in the HTML/CSS/JS

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [8 June 2022 15:36 UTC](https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614/6 "2022-06-08T15:36:09Z")

</div>

If you open the dashboard on a regular (more beefy) computer, do you see same delays? Is the report better when generated from the beefier machine or just the same ?

---

<div class="post-metadata">

### Author: ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)
#### Post date: [8 June 2022 15:45 UTC](https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614/7 "2022-06-08T15:45:12Z")

</div>

I open the dashboard on powerful workstation (Mac M1) on Firefox, Safari o Chrome. The same. That report was generated from a Mac

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [8 June 2022 20:36 UTC](https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614/8 "2022-06-08T20:36:55Z")

</div>

Is there an iFrame embedded in there? Also, do you have a load of ui\_template code?

Certainly there are some pretty poor web practices built into the core Dashboard code. Not really anyone's fault, it is simply showing its age. For example, it contains non-passive event listeners which cause blocking events.

But you certainly have some very heavy stuff in there with 1.5s of blocked time vs 240ms on my simple Dashboard. and over 6 seconds to first content paint vs .3s on mine.

Unfortunately, Dashboard is based on Angular v1 which is really past its sell-by date.

---

<div class="post-metadata">

### Author: ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)
#### Post date: [9 June 2022 07:59 UTC](https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614/9 "2022-06-09T07:59:58Z")

</div>

No iFrames and just 2 or 3 ui\_templates. But I have many ui\_controls to refresh elements in dashboard (I cannot do otherwise). And there is also the https overhead (probably).

Anyway, yes I agree with you. Dashboard needs a very deep renovation and modernization.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [9 June 2022 08:57 UTC](https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614/10 "2022-06-09T08:57:08Z")

</div>

If you are prepared to write some HTML, uibuilder will let you create something as efficient as you like 😉

---

<div class="post-metadata">

### Author: ![fmarzocca](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fmarzocca/32/35901_2.png) [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)
#### Post date: [9 June 2022 10:05 UTC](https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614/11 "2022-06-09T10:05:32Z")

</div>

Yes. The problem is that it is not just "some" HTML. And it will mean that I will be focused on the GUI more than on the logic of the flows...  
Thanks anyway!

---

<div class="post-metadata">

### Author: ![thebaldgeek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/thebaldgeek/32/93523_2.png) [@thebaldgeek](https://discourse.nodered.org/u/thebaldgeek)
#### Post date: [15 June 2022 15:44 UTC](https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614/12 "2022-06-15T15:44:15Z")

</div>

I think you will find this thread about the dashboard very insightful and helpful:

> [@How to make Dashboard webserver more robust?](https://discourse.nodered.org/t/how-to-make-dashboard-webserver-more-robust/61295/):
>
> My users keep getting "Connection lost" message in the top right corner of the dashboard and shortly thereafter the site refreshes on them. [image] Node-RED Dashboard is here: [https://acars.adsbexchange.com/](https://acars.adsbexchange.com/) I have moved my site between data centers, the latter is the most robust that has hosted the site and I am still seeing the error. Seeing around 720 Gb of upload traffic every 24 hours. Is there any way I can find out how many people are connected at any one time? Whats the webserver t…

I was able to make a few tweaks and get the performance up a little.  
Honestly, a 3B+ Pi is just going to struggle with anything too elaborate on the dashboard side.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [15 July 2022 15:44 UTC](https://discourse.nodered.org/t/bad-perfomances-on-dashboard/63614/13 "2022-07-15T15:44:17Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
