Quantcast
Download
(7 Kb)
Download
Updated: 10-25-16 06:11 AM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.0)
Updated:10-25-16 06:11 AM
Created:unknown
Downloads:9,283
Favorites:103
MD5:
Categories:Utility Mods, Miscellaneous
7.1.0

AddonUsage  Popular! (More than 5000 hits)

Version: 2.0.10
by: Gello [More]

This is a little UI for the profiling API we got back in 2.1.

__ How to Use __

To summon or dismiss the window:

  • /addonusage
  • or set up a key binding in the default key binding interface

You can click column headers to sort the table by one of the columns.

__ Why to Use __

If you're thinking of downloading this addon, you're probably trying to optimize your UI so it can run as efficiently as possible or you're experiencing fps loss and suspect an addon may be the cause.

I recommend, for the most part, ignoring the memory usage of addons unless you're on a low-end system. Even garbage memory creation (the memory creep active addons appear to be doing) is not really an issue if it happens slowly. If you watch closely you'll see the addons' memory usage reset back after a while. WoW's Lua implementation does this over time in a low-impact cleanup.

Instead you'll want to focus on the CPU usage of your addons. Everything your addons do, everything, happens between the frames rendered on your screen. The more work your addons are doing, the longer the game waits to render your next frame and your fps drops.

The best way to troubleshoot fps issues is to turn on CPU monitoring and go out and play. You can forget about it until later in the session. Bring up the window and see how they all behaved.

If you're experiencing a noticable fps drop in certain situations, like in one encounter in a raid (which is almost always graphic related and not addon related), or flying around looking at the map, or doing tradeskills, etc, you can hit Reset before you know the fps drop is about to hit. Then look for any abnormally high cpu usage among your addons.

The reason CPU monitoring isn't on by default is because the act of monitoring how much work your addons are doing causes a bit more work that will slow you down even more unless you're on a high end system or have few addons. You should only have CPU monitoring enabled when you're testing.

That said, some things to consider when looking at the numbers:
  • The percentages are all relative to each other. If you're spending 80% of your time making bandages, 10% of your time chatting and 10% of your time raiding, expect your tradeskill/inventory addons to share a bulk of the usage. If you notice in this situation a map addon taking up an abnormally huge share of cpu time, then that's something to investigate.
  • The initial memory/CPU usage will include some, but not all, of the loading times when you login/reload. This often includes spikes in housekeeping memory/CPU that will get freed up over time. It's negligible over a whole session, but something to consider in specific troubleshooting. You can hit 'Reset' at any time to start fresh.
  • A lot of addons share libraries of code. The "blame" for who owns that code isn't as clear cut. If you run many addons that share libraries, treat them all as one huge mass for overall troubleshooting purposes. If you disable one addon and a seemingly unrelated addon has suddenly taken up the former addon's share of work, it's likely the two were sharing a library and the first one may be blameless.
  • Remember to turn off CPU monitoring when you're done testing!

2.0.10 10/24/16 toc update for 7.1 patch
2.0.9 7/16/16 toc update for 7.0 patch
2.0.8 6/23/15 toc update for 6.2
2.0.7 2/24/15 toc update for 6.1
2.0.6 11/05/14 fix for load-on-demand addons not showing up and lua error when turning off real-time updates
2.0.5 10/11/14 total mb/cpu usage summary added
2.0.4 10/2/14 mouseing over long addon names will show whole addon name
2.0.3 9/14/14 update for WoD, fix for WoD-specific bug where cpu profiling wouldn't enable
2.0.1 10/25/13 rewrite/facelift, realtime cpu monitoring option
1.14 9/11/13 toc update for 5.4
1.13 5/21/13 toc update for 5.3
1.12 8/28/12 fixed _ tainting
1.11 8/27/12 5.0 (Mists of Pandaria) update
1.1 4/10/09 belated fix for scrollbar change in 3.02
1.0 7/14/08 initial release
Optional Files (0)


Archived Files (13)
File Name
Version
Size
Author
Date
2.0.9
7kB
Gello
07-19-16 08:18 AM
2.0.8
7kB
Gello
06-23-15 07:46 AM
2.0.7
7kB
Gello
02-24-15 06:08 AM
2.0.6
7kB
Gello
11-06-14 03:56 PM
2.0.5
7kB
Gello
10-14-14 06:29 AM
2.0.2
5kB
Gello
10-25-13 06:47 PM
2.0.1
5kB
Gello
10-25-13 04:56 PM
1.14
5kB
Gello
09-11-13 10:08 AM
1.13
5kB
Gello
05-21-13 10:59 AM
1.12
5kB
Gello
08-28-12 04:36 PM
1.11
5kB
Gello
08-27-12 08:35 PM
1.1
4kB
Gello
04-10-09 06:50 PM
1.0
4kB
Gello
07-14-07 09:12 AM


Post A Reply Comment Options
Unread 09-30-16, 06:59 AM  
Gello
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 480
File comments: 472
Uploads: 116
Originally Posted by Aisenfaire
Hi,

I'm using the latest Curse version. I started getting this error when I typed /addonusage:


[code]4x AddonUsage\AddonUsage-2.0.9.lua:39: AddOn index must be in the range of 1 to 473
Thanks for the report. I'll look into this.

edit: This is kind of hilarious. The name of the addon "2048" looks like a number to the API, so it's trying to reference the addon by its numeric index instead of its name.

This is fixable but it may require more than a quick edit. I've been wanting to redo this addon for some time. Maybe I can shove some other projects aside to write one up real quick this weekend.

btw it's okay to post comments on curse too. I get notifications by email now when a comment is made. I'll edit that bit in the curse description when this addon gets updated.
Last edited by Gello : 10-01-16 at 06:39 AM.
Report comment to moderator  
Reply With Quote
Unread 09-30-16, 03:42 AM  
Aisenfaire
A Murloc Raider

Forum posts: 6
File comments: 300
Uploads: 0
Hi,

I'm using the latest Curse version. I started getting this error when I typed /addonusage:


Code:
4x AddonUsage\AddonUsage-2.0.9.lua:39: AddOn index must be in the range of 1 to 473
[C]: in function `IsAddOnLoaded'
AddonUsage\AddonUsage-2.0.9.lua:39: in function `BuildList'
[string "*:OnShow"]:1: in function <[string "*:OnShow"]:1>
[C]: in function `SetShown'
AddonUsage\AddonUsage-2.0.9.lua:131: in function `?'
FrameXML\ChatFrame.lua:4332: in function `ChatEdit_ParseText'
FrameXML\ChatFrame.lua:4000: in function `ChatEdit_SendText'
FrameXML\ChatFrame.lua:4036: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals:
(*temporary) = "2048"
The window popup also no longer shows the addons themselves, it just says "Addon Name" in all the rows with 100%.

(Posting the report here since your description on Curse says to. )


*Edit: I think it's because I installed this addon? https://mods.curse.com/addons/wow/wow2048 Even when it's disabled the error still happens, but the timing makes sense.
Last edited by Aisenfaire : 09-30-16 at 03:51 AM.
Report comment to moderator  
Reply With Quote
Unread 06-04-09, 02:19 PM  
Shalandra
A Kobold Labourer
 
Shalandra's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
HUGE fan of Item Rack wish to help

Hey Gello, I will not play wow with out your mod and I know you are a player first and was wondering if I could help in ANY way. I use curse as my prime source of addons. I would like at least permission to keep it updated on curse. I am not looking for any credit or recgonition, I just really love your mod ALOT. my druid would be usless with out it considering all the gear i carry constantly. My name is john my email is [email protected], my toon is Ariaessa (druid) on Dark Iron.


Hope to hear from you soon.
__________________
Report comment to moderator  
Reply With Quote
Unread 04-10-09, 06:51 PM  
Gello
A Firelord
AddOn Author - Click to view AddOns

Forum posts: 480
File comments: 472
Uploads: 116
oops. Updated my copy before patch but never posted a fix for all these months. Sorry!

New version just posted just fixes this. Nothing else changed (other than toc for 3.1--it was tested on PTR) so if you had it fixed already no need to redownload.

Originally posted by Joanna
To make this work in 3.0.2:

open AddonUsage.xml, scroll down to the bottom and find:

FauxScrollFrame_OnVerticalScroll(16, AddonUsage.ScrollFrameUpdate)

change it to:

FauxScrollFrame_OnVerticalScroll(self, offset, 16, AddonUsage.ScrollFrameUpdate)

Save, and you're good to go!
Last edited by Gello : 04-10-09 at 06:52 PM.
Report comment to moderator  
Reply With Quote
Unread 10-24-08, 11:31 AM  
Joanna
A Defias Bandit

Forum posts: 2
File comments: 2
Uploads: 0
To make this work in 3.0.2:

open AddonUsage.xml, scroll down to the bottom and find:

FauxScrollFrame_OnVerticalScroll(16, AddonUsage.ScrollFrameUpdate)

change it to:

FauxScrollFrame_OnVerticalScroll(self, offset, 16, AddonUsage.ScrollFrameUpdate)

Save, and you're good to go!
Report comment to moderator  
Reply With Quote
Unread 10-17-08, 02:58 PM  
kneeki
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 132
File comments: 144
Uploads: 21
Just got the error in the screenshot below after trying to use the scroll bar on the window:

Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: