voorkant / voorkant-core

https://voorkant.org/
MIT License
2 stars 3 forks source link

logbox can be expensive #93

Open Habbie opened 6 months ago

Habbie commented 6 months ago

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:

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.

Habbie commented 1 month ago

Updating to LVGL 9/master has caused truncation of multiline messages to the first line, which makes everything faster :D