Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize processor consumption #19

Open
baxiry opened this issue Jan 29, 2022 · 11 comments
Open

Optimize processor consumption #19

baxiry opened this issue Jan 29, 2022 · 11 comments

Comments

@baxiry
Copy link

baxiry commented Jan 29, 2022

fyneterm consumes a lot of processor , and does not work smoothly on MacOS M1
fyneter-consume

Thanks

@andydotxyz
Copy link
Member

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

@andydotxyz
Copy link
Member

running in the terminals?

I was meaning what is happening inside the terminals? Or are they all idle?

@baxiry
Copy link
Author

baxiry commented Feb 2, 2022

@andydotxyz
oh sorry,
all in all idle

@andydotxyz
Copy link
Member

With the latest version this may be resolved - are you still having trouble @bashery ?

@baxiry
Copy link
Author

baxiry commented Aug 30, 2023

There is a small improvement.
I built it with Go 1.20

@andydotxyz
Copy link
Member

You would still categorise the app as not working smoothly?

@baxiry
Copy link
Author

baxiry commented Aug 31, 2023

Processes inside the shell run smoothly.
Operations on window are still bad. Zoom in .. Zoom out Move the window ..

@andydotxyz
Copy link
Member

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?

@baxiry
Copy link
Author

baxiry commented Sep 6, 2023

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.

@andydotxyz
Copy link
Member

Are you sure you are on latest version? I see idle around 3-4%. Not ideal but certainly not as bad as you report.

@baxiry
Copy link
Author

baxiry commented Sep 14, 2023

I built it from source with go1.21.0
The problem still exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants