Open DennisRas opened 1 month ago
Hey there. In my unending quest to be able to play this game without performance problems, I did identify the source of this micro-stutter. Specifically,WeeklyKnowledge.Core:Render()
takes about 50,000 microseconds to execute:
That's more than long enough to notice, and it happens fairly frequently - pretty much anytime you loot anything, there's a noticeable hitch due to WeeklyKnowledge re-rendering its displays, even if they're not currently visible (skinning is especially intolerable, given the frequency of events that trigger Render
during that activity) Monkeypatching the addon such that WeeklyKnowledge.Main:Render()
and WeeklyKnowledge.Checklist:Render()
return ASAP if their respective frames are not visible subjectively eliminated the stutters (while the windows aren't visible, of course).
In particular, the main window seems to be the biggest hog, so if you're looking for a good target for optimization, I think you would do well to start with that.
Oh, I should clarify - that's 50,000 microseconds to render, when there are 13 characters recorded in the SavedVariables, 9 of which have 2 professions each for a total of 18 rows in the Main window display. I suspect that the actual time to execute rendering will vary depending on the # of rows displayed.
Thanks for the feedback @emptyrivers We already talked on Discord earlier, but wanted to report here that I'm looking into the issue asap.
From CurseForge: