LunaUnitFrames

LunaUnitFrames

268k Downloads

Improve loading times/Optimization

x003 opened this issue ยท 3 comments

commented

Wondering if it was possible to reduce the login load time impact of Luna. I checked with the warmup addon and it's one of the most impactful on load times of my addons
untitled

commented

Are you serious? Have you actually looked at the image you posted? MobHealth3_BlizzardFrames which is the part of mobhealth3 that puts the texts on the unitframes (and does only that) seems to pull almost as much memory and loading time as Luna. I would say there is something very wrong with your testing method.
And even if those numbers are correct. The majority of that memory is textures & fonts - you can check that yourself when you take a look at Lunas media folder.
In the end all these numbers don't matter. One second of additional load time is nothing and so are those 5 megabytes of RAM. What really matters is what the addon does while you are playing. In this regard Luna 2.0 has been build completly modular so every feature that is disabled will consume zero cpu time. So go ahead and turn off all the features to make you experience "better".

commented

Either you are really trying hard to troll or you have no idea what you are posting / talking about. I am always open for discussion and willing to explain why things are the way they are but you come in here and accuse me of bad coding. And then proceed to further spew you half knowledge. I do this shit for free in my private time and don't feel the need to deal with this.

Oh and i can post images too:
luna

commented

So your defense is because some old addon written in 2006 is poorly optimized then that must mean it's perfectly ok for mine to be too and and not even entertain the idea of trying to improve the addon with optimizations. Nice attitude. Yet when I contacted other current addon authors about optimizations in their addons they were glad to try and improve.

Like it or not, your addon is badly optimized.

Tested addon loadup time with just XPerl = 0.250 sec
wu

Tested addon loadup time with just DiscordUnitFrames = 0.235 sec
discord

Hell... even PfUI which is an ENTIRE fucking massive interface overhaul loads faster!
pf

edit: it appears luna does something to MobInfo2 and MobHealth3 that causes them to load sowly. With Luna enabled they take about .5 or .6 seconds to load and without .1
untitled