View Single Post
01/24/16, 12:46 AM   #1
BigMons
 
BigMons's Avatar
Join Date: Oct 2014
Posts: 38
LF Utility/Tool/Addon To Monitor Addon Resource Usage

I apologize in advance for the length of this. Also, I'm not trying to pick on SnowmanDK or say bad things about Destinations. I've used the addon since I first started playing ESO and wouldn't play without it. I'm sure most if not all authors have made a minor mistake in their addon at some point.
-------
I use the addon Destinations. A bug was inadvertently introduced, or perhaps an oversight was made in coding, that caused pretty severe frame lag and freezing a couple of days ago. The issue was quickly fixed by the author. This question isn't really specifically about Destinations, but the Destinations bug that was causing the frame lag got me to thinking about it. Is there a tool or addon that can let an addon user see how much resources a particular addon is using or would help us to somehow find this particular type of issue in the future? I was just fortunate that I had only updated one addon recently, so it was easy to narrow down. If it was a new install with all of my addons, I could have wasted HOURS narrowing it down.

I have one addon called RAETIA Infohub (outdated and no longer supported unfortunately, but still working) that includes a module that supposedly reports current lua memory usage. I say supposedly because I have no idea if it works correctly or not, but it 'seems' to work. It does not give any details though regarding how much memory is being used by individual addons. I had a very similar addon in WoW that also included a similar module. Hovering over it would drop down more info about individual addons and would also offer the ability to do "garbage collection", which I assume just meant "free up lua memory", but idk.

I think it would be really handy from a troubleshooting perspective to be able to see memory/CPU/resource usage of individual addons to help figure out which addons are causing performance issues. It could help narrow down and figure out if there is a "bad", poorly written, or outdated addon that is causing issues. Maybe a log could be written that would show incorrect functions or bad calls (whatever you would call the issue Destinations had). I'm not a programmer or coder, so my terminology is probably incorrect.

If this doesn't exist, would it be possible to create a tool/utility or addon, given the current API, that would help to troubleshoot addons so I can figure out which ones to disable or uninstall if they are causing performance issues? I do use some outdated addons that may be causing issues or will later on.

I think we should request more API changes from ZOS if this isn't possible right now. I was cursing ESO last night and even alt+F4'd out of it and was going to play something else. I thought it was server lag or my connection. I was thinking "F' this, no point in playing the game if it's performing so poorly". The game wasn't fun and I thought it was ESO's fault. ZOS could benefit from adding functions to help with this. I just got lucky and found a forum post with a similar complaint where someone replied that it sounded like a bad addon.

Last edited by BigMons : 01/24/16 at 12:52 AM.
  Reply With Quote