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

[ENHANCEMENT] (high cpu cycles) #2066

Closed
3 tasks done
breakTBB opened this issue Mar 30, 2024 · 8 comments · Fixed by #2328
Closed
3 tasks done

[ENHANCEMENT] (high cpu cycles) #2066

breakTBB opened this issue Mar 30, 2024 · 8 comments · Fixed by #2328
Assignees
Labels
enhancement An improvement to WingetUI needs-author-answer

Comments

@breakTBB
Copy link

breakTBB commented Mar 30, 2024

Please confirm these before moving forward

  • I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
  • This improvement refers to an existing feature. If you want to suggest a new feature, please use this template
  • This improvement is not a bug. If you want to report a bug, please use this template

Describe the improvement

high cpu cycles delta than qq and wechat.
image
waiting for optimization.

Describe how this improvement could help users.

waiting for optimization

@breakTBB breakTBB added the enhancement An improvement to WingetUI label Mar 30, 2024
@marticliment
Copy link
Owner

Hello @breakTBB, does this cycle count account for subprocess CPU usage?

@Uj947nXmRqV2nRaWshKtHzTvckUUpD
Copy link

Uj947nXmRqV2nRaWshKtHzTvckUUpD commented Apr 13, 2024

as of 3.0.2 it is constantly using 0.3%->2.1% CPU even when absolutely no activity going on (no checking for updates / no searching ..)
also the memory footprint is quite big ~100MB GPU memory and 400 MB RAM in idle state

@Uj947nXmRqV2nRaWshKtHzTvckUUpD

any idea what's causing the constant CPU usage. I need to quit wingetui everytime after updating my apps, to prevent unnecessary battery drain

@marticliment
Copy link
Owner

Not really, I am still investigating

@yxcvbnm201
Copy link

I don't think the issue is resolved. I'm on 3.1.1 and am seeing idle cpu usage like described here.

@marticliment marticliment reopened this Oct 19, 2024
@yxcvbnm201
Copy link

yxcvbnm201 commented Oct 19, 2024

Could it be related to these issues?
microsoft/microsoft-ui-xaml#4860
microsoft/microsoft-ui-xaml#4565

@marticliment
Copy link
Owner

marticliment commented Oct 19, 2024

It is likely to be.
If you open PowerToys Settings window (Also built with AppSdk WinUI3), you will see a similar issue happen.

@marticliment
Copy link
Owner

Closing this as I can't really fix this from UniGetUI, but rather is an issue with AppSdk/WinUI3

@marticliment marticliment closed this as not planned Won't fix, can't repro, duplicate, stale Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement to WingetUI needs-author-answer
Projects
None yet
4 participants