This is an addon to compare the memory and CPU usage of your addons.
How to Use
To summon or dismiss the window:
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/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; tracking begins very soon after the game starts to render.
- The sorted list has its name as a secondary sort to produce more "stable" lists.
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