Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: Update nameplate hook #636

Merged
merged 1 commit into from Mar 7, 2023
Merged

core: Update nameplate hook #636

merged 1 commit into from Mar 7, 2023

Conversation

ls-
Copy link
Member

@ls- ls- commented Mar 7, 2023

This one reduces our footprint. Because we hooked the OnEvent handler oUF got EVERYTHING that's happening in and because of that function attributed to it. So in addons like ACU we'd get hugely inflated numbers without actually doing anything at all 馃槖馃敨

Before:
image

After:
image

"Free performance" 馃ぃ Just to be clear, there's no actual performance improvement in this PR. It's just a quirk of how function hooking works.

@ls- ls- added the core label Mar 7, 2023
@ls- ls- self-assigned this Mar 7, 2023
@ls- ls- merged commit 3002bf1 into master Mar 7, 2023
@ls- ls- deleted the np-patch branch March 7, 2023 19:16
Azilroka added a commit to tukui-org/ElvUI that referenced this pull request Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants