WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   CPU friendly Unit Frames Addon (https://www.wowinterface.com/forums/showthread.php?t=57817)

cozmos 02-13-20 04:17 PM

CPU friendly Unit Frames Addon
 
As the title says I’m looking for that.
I’m currently using Shadowed Unitframes which are amazing.
In Combat they are using like 0,8ms CPU.
But maybe I will find something which uses less because I don’t need that much customization
Because I’m using Blizzard Raid Frames for party and raid.

I tested a lot of them like Stuf, Ruf, Pitbull and so but they are using much more.
Haven’t tested ouf stuff lately.

Seerah 02-14-20 03:15 PM

Are you having performance issues? Working with a low-end CPU?

cozmos 10-10-20 03:23 AM

Sry for the late reply, forgot I posted this :p

Im playing at super low latency and high frames so everything that slows the client is noticeable.
Sure you get used to it but I try to use as less as possible addons to make it feel like playing without addons.

DahkCeles 10-10-20 10:10 AM

When doing work on CT_UnitFrames earlier this year, I found one of the biggest performance improvements came from taking old circa Burning Crusade code like this:
Lua Code:
  1. RegisterEvent("UNIT_HEALTH")

and replacing it with a function introduced in Mists of Pandaria:
Lua Code:
  1. RegisterUnitEvent("UNIT_HEALTH", "target")


I even noticed a difference alone in front of a combat dummy, when measuring CPU usage in a controlled setting. I never extended those measurements to a true raid setting, but the impact would probably be greatly magnified by group size and in larger pulls.

SDPhantom 10-11-20 12:57 AM

There really isn't any magical difference between the two ways of registering events. The Lua engine is just slow compared to the game's C code. Any time spent calling your Lua code eats up CPU power, even if your function has no instructions in it. This is why the specific unit event registration exists, to only call your function when the event fires for the unit you're watching.

Jynks 10-14-20 05:16 PM

I have been using the wowace "shadow unit frame" one for a long time. I love it. I think it is pretty lite? Worth a try I guess. Has a lot of options to try out.

cozmos 10-17-20 01:11 AM

Yap, shadowed UF perform really good. Best I have found so far. I was using Zorks ouf mod quite a long time which was really good too.

I´m not that deep into programming but I can modify some lua code to my fittings. :banana:

Thats what I usually do. Look for things in the code like update frequency or refresh cycle.
I´m changing that to 0.3 or 0.5 depending on the priotity of having that information and measuring it.

My goal is to keep the CPU impact as low as possible. Usually below 1ms even in combat.
Working out really good so far.
BUT! I have managed to get that performance with ~20 addons installed!

Using Blizzard stuff (like raidframes) or addons that just modify Blizzard stuff to my fittings and wherever possible just plain textures or icons to mod the UI.


All times are GMT -6. The time now is 10:18 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI