It is currently April 26th, 2024, 6:13 pm

Created Skin uses extreme resources >50%

Get help with creating, editing & fixing problems with skins
psatyarthi
Posts: 5
Joined: May 11th, 2021, 4:55 pm

Created Skin uses extreme resources >50%

Post by psatyarthi »

I recently created a checklist skin that has 5 individual tabs with up to 25 items in each tab that can be resized using the mouse by double-clicking the background and dragging the edge like a normal window. But the skin uses a lot of cpu and sometimes uses >75% of cpu when full screen. Is there any way that I can optimize this skin?
The skin can be tweaked using the variables file.
You do not have the required permissions to view the files attached to this post.
User avatar
CodeCode
Posts: 1366
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Created Skin uses extreme resources >50%

Post by CodeCode »

If you have no animated images, or any other reason to have the update so fast, try raising it up to 1000.
Your skin will still be able to have the drag and response to mouse clicks just fine.
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
psatyarthi
Posts: 5
Joined: May 11th, 2021, 4:55 pm

Re: Created Skin uses extreme resources >50%

Post by psatyarthi »

Skin has mouseover actions and an animation for resizing the skin. So updates below 100ms feel unnatural and laggy. I solved this by enabling hardware acceleration in rainmeter and now the usage stays below 10%.
Thanks!
User avatar
CodeCode
Posts: 1366
Joined: September 7th, 2020, 2:24 pm
Location: QLD, Australia

Re: Created Skin uses extreme resources >50%

Post by CodeCode »

Cool beans.
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.