Download
(19Kb)
Download
Compatible with Retail, Classic & TBC
Updated: 03-19-24 06:43 PM
Pictures
File Info
Compatibility:
Plunderstorm (10.2.6)
Classic (1.15.1)
WOTLK Patch (3.4.3)
Updated:03-19-24 06:43 PM
Created:unknown
Downloads:23,152
Favorites:122
MD5:
Categories:Utility Mods, Miscellaneous
10.2.6

AddonUsage  Popular! (More than 5000 hits)

Version: 3.1.13
by: Gello [More]

This is an addon to compare the memory and CPU usage of your addons.

How to Use

To summon or dismiss the window:

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

A window will list each loaded addon alongside its memory usage, and CPU usage if enabled.
  • Column headers across the top can be clicked to sort by that column.
  • The total memory and CPU usage will be displayed at the bottom of their respective columns.
  • The window can be resized by the grip in the lower right corner.

In the lower left is a "CPU Usage" checkbox. Enabling this will turn on CPU profiling and display CPU times for each addon alongside their memory usage.

Beside the checkbox are three buttons, from left to right:
  • Reset: This will clean up memory and reset CPU usage tracking.
  • Update: This will update usage information.
  • Continuous Update: This acts as a Pause/Play button to automatically update usage every second.

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.
  • CPU usage is measured in milliseconds per second. The milliseconds of CPU time that the addon has accumulated divided by how long since CPU usage was last reset, or just after login if there has been no reset.
  • CPU usage per addon is taken from the in-game API and does not represent the whole story. It's possible for an addon to get some of its work blamed on another if libraries are involved, or it may get a lot of work to go unnoticed. Use these numbers as a guide only.
  • Remember to turn off CPU monitoring when you're done testing!

03/19/2024 version 3.1.13
- toc update for 10.2.6 patch

03/10/2024 version 3.1.12
- toc update for 1.15.1 patch

01/16/2024 version 3.1.11
- toc update for 10.2.5 patch

11/07/2023 version 3.1.10
- toc update for 10.2 patch
- toc update for 3.4.3 patch

09/05/2023 version 3.1.9
- toc update for 10.1.7 patch

08/24/2023 version 3.1.8
- Fix for various lua errors on Classic Era clients
- toc update for 1.14.4 amd 3.4.2 patches

07/11/2023 version 3.1.7
- toc update for 10.1.5 patch

05/03/2023 version 3.1.6
- Added compartment launcher support
- toc update for icon and 10.1.0 patch

03/21/2023 version 3.1.5
- toc update for 10.0.7 patch

01/25/2023 version 3.1.4
- toc update for 10.0.5 patch

01/19/2023 version 3.1.3
- Fix for WotLK Ulduar patch
- toc update for 3.4.1 patch

11/15/2022 version 3.1.2
- toc update for 10.0.2 patch

10/25/2022 version 3.1.1
- Update for Dragonflight clients

10/04/2022 version 3.1.0
- Update to support Dragonflight clients
- Beta/PTR users will need to load out of date addons for this to work until the update for Dragonflight pre-patch
- Added a little extra room for the memory usage column

09/01/2022 version 3.0.16
- toc update for WotLK Classic

08/16/2022 version 3.0.15
- toc update for 9.2.7 patch

05/31/2022 version 3.0.14
- toc update for 9.2.5 patch

05/22/2022 version 3.0.13
- Added wago and curse project IDs to toc

05/12/2022 version 3.0.12
- Fix to make wowup recognize the wowinterface provider. (May require a rescan of folders in wowup)

02/22/2022 version 3.0.11
- toc update for 9.2 patch

11/02/2021 version 3.0.10
- toc update for 9.1.5 patch

06/29/2021 version 3.0.9
- Fix for backdrop of control button tooltips
- toc update for 9.1.0 patch

05/18/2021 version 3.0.8
- Update for The Burning Crusade Classic

03/13/2021 version 3.0.7
- toc update for 9.0.5

10/13/2020 version 3.0.6
- toc update for 9.0

08/13/2018 version 3.0.5
- removed debug key binding

07/17/2018 version 3.0.4
- toc update for 8.0

08/29/2017 version 3.0.3
- toc update for 7.3

04/20/2017 version 3.0.2
- Fix for potential divide by zero errors (integer overflow)

03/27/2017 version 3.0.1
- Fixed key binding entry
- toc update for 7.2

01/12/2017 version 3.0.0
- New resizable UI.
- Sort choices persists across sessions.
- CPU time is now displayed (as milliseconds per second).
- The 'Realtime updates' checkbox is now a Play/Pause toggle button at the bottom of the window.
- Support for addons that are named a number.
- The login usage is no longer recorded
Optional Files (0)


Archived Files (23)
File Name
Version
Size
Author
Date
3.1.12
19kB
Gello
03-10-24 12:26 PM
3.1.11
19kB
Gello
01-16-24 04:01 PM
3.1.10
19kB
Gello
11-07-23 03:32 PM
3.1.9
19kB
Gello
09-05-23 04:46 PM
3.1.8
19kB
Gello
08-24-23 04:05 AM
3.1.7
19kB
Gello
07-11-23 06:02 PM
3.1.6
19kB
Gello
05-02-23 03:21 AM
3.1.5
19kB
Gello
03-21-23 03:09 AM
3.1.4
19kB
Gello
01-25-23 05:00 AM
3.1.3
19kB
Gello
01-19-23 06:02 PM
3.1.2
19kB
Gello
11-15-22 11:17 AM
3.1.1
19kB
Gello
10-25-22 05:40 PM
3.1.0
19kB
Gello
10-04-22 10:43 AM
3.0.16
19kB
Gello
09-01-22 01:56 AM
3.0.15
19kB
Gello
08-16-22 06:33 PM
3.0.14
19kB
Gello
05-31-22 09:03 AM
3.0.13
19kB
Gello
05-22-22 05:56 PM
3.0.12
18kB
Gello
05-12-22 06:25 PM
3.0.11
18kB
Gello
02-22-22 04:34 PM
3.0.10
18kB
Gello
11-02-21 09:40 AM
3.0.9
18kB
Gello
06-29-21 04:44 PM
3.0.8
18kB
Gello
05-18-21 06:51 PM
3.0.7
17kB
Gello
03-13-21 04:52 AM


Post A Reply Comment Options
Unread 01-17-20, 09:05 AM  
Narfi
A Murloc Raider

Forum posts: 7
File comments: 15
Uploads: 0
Classic

Hey,


seems to work with Classic, great

Regards
Report comment to moderator  
Reply With Quote
Unread 08-13-18, 07:33 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
Originally Posted by nKweo
Hi Gello, seems like you forgot to delete this from bindings.xml:
Woops lol. I'll remove it today, thanks!
Report comment to moderator  
Reply With Quote
Unread 08-13-18, 07:01 AM  
nKweo
A Deviate Faerie Dragon
 
nKweo's Avatar

Forum posts: 16
File comments: 16
Uploads: 0
Hi Gello, seems like you forgot to delete this from bindings.xml:
Code:
<Binding name="CLICK TestButton:LeftButton" header="TEST">
	print(GetTime(),"?")
</Binding>
Looks a bit sloppy in the keybinding menu . Thanks for all your great addons!
Report comment to moderator  
Reply With Quote
Unread 02-23-18, 05:24 PM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
Re: Re: Re: Addon Usage is not giving any data

Originally Posted by coani
Super late reply and I know I'm not the poster you were responding to but I just had the same issue (because I lost all my settings last week). Turns out in my case, it was an addon called GarbageCollector which defaults to intercepting addon usage calls & disables them (to save cpu time). After turning that option off in that addon, the addon mem profiling started working again in your addon (and TitanPanel Performance, where I first noticed the problem).
That's good to know. Thanks for posting about it!
Report comment to moderator  
Reply With Quote
Unread 02-23-18, 05:11 PM  
coani
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 40
Uploads: 3
Re: Re: Addon Usage is not giving any data

Originally Posted by Gello
Originally Posted by Lazare
Just restarted using this addon. When I pull it up it lists all the addons but in the memory field it only shows

0.0 0%
I have not tried the "CPU Usage" checkbox as I don't want to slow down my WoW as it says it does. I have tried the Reset, Update and Continuous Update buttons, but this does not change the memory field at all. Not sure what is going on but I have noticed that another addon called "SysMon" has the very same problem. Posting cropped screen shot of what I am seeing below.
Cheers!
Very curious!

If you mouseover the game menu button, does it report memory usage of a few addons? It's the button circled in red here:


If other memory-profiling addons are not working, I suspect the default UI is not going to register anything either. Some addon may be interfering with the whole process. In your shoes I would try disabling all addons, then confirm the default one is working again. If so, enable a few addons at a time until the behavior returns. It would narrow down what addon is causing it.

If the default memory usage isn't working after disabling all addons (you can disable them from the AddOns screen; no need to play with any files or delete anything), then there is a deeper problem. I would perhaps try to repair the client from the launcher.

If you find the cause let me know. I've never heard of that behavior and am curious what could cause it.
Super late reply and I know I'm not the poster you were responding to but I just had the same issue (because I lost all my settings last week). Turns out in my case, it was an addon called GarbageCollector which defaults to intercepting addon usage calls & disables them (to save cpu time). After turning that option off in that addon, the addon mem profiling started working again in your addon (and TitanPanel Performance, where I first noticed the problem).
Report comment to moderator  
Reply With Quote
Unread 01-24-18, 07:16 PM  
linguini
A Fallenroot Satyr

Forum posts: 20
File comments: 80
Uploads: 0
hey gello. jsut wanted to say thank you for this addon! really good explanation on the main page too.
Report comment to moderator  
Reply With Quote
Unread 12-22-17, 01:18 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
Originally Posted by Resike
Could you add the total and the current CPU usage per addon as a two new column?
No promises but I'll tinker with it over the holidays. I can see definite value in that.
Report comment to moderator  
Reply With Quote
Unread 12-21-17, 12:13 PM  
Resike
A Pyroguard Emberseer
AddOn Author - Click to view AddOns

Forum posts: 1290
File comments: 246
Uploads: 12
Could you add the total and the current CPU usage per addon as a two new column?
Report comment to moderator  
Reply With Quote
Unread 07-16-17, 07:58 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
Re: Addon Usage is not giving any data

Originally Posted by Lazare
Just restarted using this addon. When I pull it up it lists all the addons but in the memory field it only shows

0.0 0%
I have not tried the "CPU Usage" checkbox as I don't want to slow down my WoW as it says it does. I have tried the Reset, Update and Continuous Update buttons, but this does not change the memory field at all. Not sure what is going on but I have noticed that another addon called "SysMon" has the very same problem. Posting cropped screen shot of what I am seeing below.
Cheers!
Very curious!

If you mouseover the game menu button, does it report memory usage of a few addons? It's the button circled in red here:


If other memory-profiling addons are not working, I suspect the default UI is not going to register anything either. Some addon may be interfering with the whole process. In your shoes I would try disabling all addons, then confirm the default one is working again. If so, enable a few addons at a time until the behavior returns. It would narrow down what addon is causing it.

If the default memory usage isn't working after disabling all addons (you can disable them from the AddOns screen; no need to play with any files or delete anything), then there is a deeper problem. I would perhaps try to repair the client from the launcher.

If you find the cause let me know. I've never heard of that behavior and am curious what could cause it.
Report comment to moderator  
Reply With Quote
Unread 07-16-17, 07:07 AM  
Lazare
An Aku'mai Servant
 
Lazare's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 76
Uploads: 5
Addon Usage is not giving any data

Just restarted using this addon. When I pull it up it lists all the addons but in the memory field it only shows

0.0 0%
I have not tried the "CPU Usage" checkbox as I don't want to slow down my WoW as it says it does. I have tried the Reset, Update and Continuous Update buttons, but this does not change the memory field at all. Not sure what is going on but I have noticed that another addon called "SysMon" has the very same problem. Posting cropped screen shot of what I am seeing below.
Cheers!


__________________
"There's no such thing as too many addons."
Lothaer

My Authored Addons
HOME OF THE FREE, BECAUSE OF THE BRAVE
Report comment to moderator  
Reply With Quote
Unread 03-28-17, 09:31 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
If you had a key binding setup in the past couple months, you may need to set it again sorry! (The 3.0 update had wrong bindings defined. They're correct in the latest version.)
Report comment to moderator  
Reply With Quote
Unread 09-30-16, 06:59 AM  
Gello
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
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: 394
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 Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 521
File comments: 582
Uploads: 75
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
Post A Reply



Category Jump: