My app loads 3 dbc tabs, in each tab there is a dbc table. Each table includes about 50-500 simple html.P elements (number value and color background).
Looking at dev tools network and performance tabs, I’m satisfied with my callback time and data transfer time, but rendering takes a very long time.
This is the performance chart:
The idle time, if I correlate correctly with the network tab, is the time it takes for the callback to run on the server and I’m ok with it. The question is - why is scripting taking so long?
Going deeper, it is all dash renderer?
Is this expected? I would expect a few hundred simple html elements are not too hard for a modern browser, but maybe I’m missing something. Is there anything I can do to improve?
(I know I can load each tab lazily, for faster initial loading, but I prefer slower initial load and fast switching between tabs)