pancsta / asyncmachine-go

AOP Actor Model for distributed workflows
https://asyncmachine.dev
MIT License
72 stars 0 forks source link

am-dbg: UI becomes less responsive after a longer heavy streaming #98

Open pancsta opened 3 months ago

pancsta commented 3 months ago

am-dbg becomes less responsive after a longer heavy streaming. It could be either UI or data parsing leak.

Steps:

Result:

Workarounds:

pancsta commented 3 months ago

LogView seems to be the issue, could use caching or simply a periodic restart (eg every 1000 cursor moves). cpu dark

pancsta commented 3 months ago

Additionally there seem to be a leak in tcell (*CellBuffer) Resize, as visible on this dump after 10min of streaming. mem hot

Repro: focus switching is very slow

pancsta commented 3 months ago

Disabling word wrap fixes most of the issues.

TODO:

Steps:

Result: focus change is slow for sim, but fast for eg sim-p0