View Bug Report
UI lag after enter/leave combat
Bug #: 4871
File: MikScrollingBattleText
Date: 10-17-08 07:34 PM
By: cerebus13
Status: Not a Bug
Tracked down small UI lag problem that happens with this mod (and another scrolling text mod Parrot) when entering or leaving combat. Even if I have the event/notifications related to enter/leave combat disabled, my UI still lags for a brief moment after those events trigger.

The only fix I found for the problem was to disable the addon, or to comment out the bit of code that registers events for the PLAYER_REGEN_ENABLED and DISABLED events.

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Mikord - 10-17-08 10:16 PM
It is true that those events aren't unregistered when disabled, but the overhead is basically one if statement to check if the associated event is disabled (we're talking single digit microseconds or less here). Experiencing any noticeable UI lag due to an if statement would cause the game to be completely unplayable even with the default Blizzard UI (they're using lua too). If there is noticeable UI lag due to those events being registered, I suspect there is something else going on.