CTMod

CTMod

766k Downloads

Improve chat frame resize handle CPU usage

DDCorkum opened this issue ยท 1 comments

commented

Issue: After dramatic improvements to other CT modules, CT_Core sticks out as a CPU hog while sitting idle.

Root Cause:

  • CT_FCF_OnUpdate() was checking every frame to see if any custom CT_Core chat frame handles were being used to resize a chat frame; and then it would prevent the chat frame's other components from fading out during resizing.

Solution:

  • Start a timer (using C_Timer) only when a custom CT_Core chat frame handle is being used.
commented

This root cause and solution was not coded until 8.3.7.2 was already in a release candidate stage, so it will be withheld from the main code base until 8.3.7.3 (or 9.0.0.1).