Quantcast
CPU friendly Unit Frames Addon - WoWInterface
Thread Tools Display Modes
02-13-20, 04:17 PM   #1
cozmos
A Murloc Raider
Join Date: Mar 2007
Posts: 6
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.
  Reply With Quote
02-14-20, 03:15 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,766
Are you having performance issues? Working with a low-end CPU?
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
10-10-20, 03:23 AM   #3
cozmos
A Murloc Raider
Join Date: Mar 2007
Posts: 6
Sry for the late reply, forgot I posted this

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.
  Reply With Quote
10-10-20, 10:10 AM   #4
DahkCeles
An Aku'mai Servant
 
DahkCeles's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2020
Posts: 32
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.
  Reply With Quote
10-11-20, 12:57 AM   #5
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,978
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.
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 10-11-20 at 01:01 AM.
  Reply With Quote
10-14-20, 05:16 PM   #6
Jynks
A Cobalt Mageweaver
Join Date: Oct 2006
Posts: 215
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.
  Reply With Quote
10-17-20, 01:11 AM   #7
cozmos
A Murloc Raider
Join Date: Mar 2007
Posts: 6
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.

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.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » CPU friendly Unit Frames Addon

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off