AlexanderPro / SmartSystemMenu

SmartSystemMenu extends system menu of all windows in the system
MIT License
1.82k stars 106 forks source link

Severe performance impact of SmartSystemMenu on taskmanager #131

Open sebthom opened 1 month ago

sebthom commented 1 month ago

When SmartSystemMenu is running opening the TaskManager and going to the Details tab makes the task manager freeze for some seconds. Scrolling in the Details list becomes very sluggish. When I try grab the title bar of the task manager window with the mouse and move the window around the movement stutters.

I already added taskmgr.exe to process exclusion but it makes no difference.

The moment I stop SmartSystemMenu the TaskManager behaves snappy again.

I am using a relatively powerful laptop with AMD Ryzen 7 Pro 7840U and 64GB of RAM and Windows 10.0.19045.4412 and SmartSystemMenu 2.26.1

I don't know if it is the same cause like for https://github.com/AlexanderPro/SmartSystemMenu/issues/107 but I currently only experience the issue with the task manager.

I am using SmartSystemMenu already for quite some time and haven't noticed this issue before, so maybe something changed in the last releases that results in the performance degradation.

AlexanderPro commented 1 month ago

Hi @sebthom,

If you have the opportunity, could you compare versions 2.26.1 and 2.22.0

sebthom commented 1 month ago

I could not reproduce the issue with any release using the default config. So I checked what I changed. So for me when I add explorer.exe or taskmgr.exe to the processExclusions list things get slow. Adding explorer.exe results in a 2 second freeze when closing the taskmanager and adding taskmgr.exe to the exclusion list, then the taskmanager's details and services views became very slow.

So maybe you can reproduce it with:

  <processExclusions>
    <processName>slack.exe</processName>
    <processName>dllhost.exe</processName>
    <processName>sihost.exe</processName>
    <processName>code.exe</processName>
    <processName>smartscreen.exe</processName>
    <processName>explorer.exe</processName>
    <processName>taskmgr.exe</processName>
  </processExclusions>

The issue is the same with 2.22.0 now but as I said before I am only noticing the issue since a few weeks.

AlexanderPro commented 1 month ago

I think, I have reproduced the issue. Thank you.