terminal
terminal copied to clipboard
Optimize processor consumption
fyneterm consumes a lot of processor , and does not work smoothly on MacOS M1
Thanks
Can you confirm what commands were running in the terminals? Background CPU usage should be negligible.
Though it could be a duplicate of fyne-io/fyne#2506
running in the terminals?
I was meaning what is happening inside the terminals? Or are they all idle?
@andydotxyz oh sorry, all in all idle
With the latest version this may be resolved - are you still having trouble @bashery ?
There is a small improvement. I built it with Go 1.20
You would still categorise the app as not working smoothly?
Processes inside the shell run smoothly. Operations on window are still bad. Zoom in .. Zoom out Move the window ..
Move the window ..
??? This should literally be a no-op!
Operations on window are still bad. Zoom in .. Zoom out
OK - this could be slow due to complete cache invalidation. Should we focus the bug report on just that or are other operations still too slow?
Everything is good. Only the processor consumes a lot. For example, normal fyne applications consume 0.1 - 1% of the cpu when idle. But fyne-terminal consumes 15% of the cpu when idle.
Are you sure you are on latest version? I see idle around 3-4%. Not ideal but certainly not as bad as you report.
I built it from source with go1.21.0 The problem still exists.