You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sometimes we dump big blobs of JSON to the log. For the logger, those count as one line, and then the logbox gets "5 lines" which is actually a 1000 lines. It looks like wrapping/laying out/rendering this is very expensive for LVGL.
Observations:
removing the state.dump(2) log line from UIDummy::update shaves minutes off of startup time (on Toon1)
instead of that, making UILogBox::update do nothing has the same effect
The logbox should probably be hidden by default, perhaps with an icon that can tell you "something important just appeared in here". Further, maybe we should have a configurable loglevel for terminal output -and- one for the logbox.
The text was updated successfully, but these errors were encountered:
Habbie
added a commit
to Habbie/voorkant-core
that referenced
this issue
May 20, 2024
sometimes we dump big blobs of JSON to the log. For the logger, those count as one line, and then the logbox gets "5 lines" which is actually a 1000 lines. It looks like wrapping/laying out/rendering this is very expensive for LVGL.
Observations:
state.dump(2)
log line fromUIDummy::update
shaves minutes off of startup time (on Toon1)UILogBox::update
do nothing has the same effectThe logbox should probably be hidden by default, perhaps with an icon that can tell you "something important just appeared in here". Further, maybe we should have a configurable loglevel for terminal output -and- one for the logbox.
The text was updated successfully, but these errors were encountered: