ActionbarPlus

ActionbarPlus

78.7k Downloads

Investigate and fix high CPU Usage

nfet opened this issue ยท 3 comments

commented

Investigate High CPU Usage

This line is causing high CPU usage. We may need to move this event at the frame level instead of the button level.

Upon initial investigation, the event handler on ButtonUI::OnSpellUpdateUsable() seems to be the main cause.

widget:RegisterEvent(E.SPELL_UPDATE_USABLE, OnSpellUpdateUsable, widget)

Link to Code:

CPU and Mem Usage as reported by Addon Usage addon

image

For Mem Usage Issue See: #188

commented

Seems high while in Dalaran. This stats is in BG / Strand of the Ancients

image

commented

CPU usage seems to be stable and reasonable in BG / Alterac Valley

image

commented

This behavior is not a blocker. I will continue to improve where I can. But the issues seems to be apparent only on high populated areas.