Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(11 Kb)
Download
Updated: 02-27-10 08:48 AM
Pictures
File Info
Updated:02-27-10 08:48 AM
Created:05-21-09 02:32 PM
Downloads:3,125
Favorites:62
MD5:
Interface Usage
Version: 10.02.27
by: Aezay [More]
Description
Using this tool, you can find culprits in your World of Warcraft interface, that are slowing down the overall performance.

Each polling type is not initialised, and will thus not take up resources, until you select it in the drop down menu.
And nothing is initialised at all until you open the addon using the slash command.

Some of the polling methods will have an overhead once initialised, an example are the Frame OnEvent/OnUpdate modules.
They will hook many frames in your interface, and may slow things down a little. So it's best to reload the UI when done testing.

Once a polling method has been initialised, you can close the window, and it will still gather data in the background.

Slash command for this tool is "/iu".

Polling Modules (8)
Currently, eight polling moduels exists for this addon.

<Addon Memory Usage>
Shows the memory usage of all addons.

<Addon CPU Usage>
Measures how much CPU time each addon uses. The option "Script Profiling" must be enabled for this polling to work.

<Addon Spam by Prefix>
Shows how many addon messages each addon does.

<Addon Spam by Player>
Shows how many addon messages you get from who.

<Addon Spam by Channel>
Shows how many addon messages you get per channel.

<Event Calls>
Shows how many times each event is dispatched to a frame.

<Frame OnEvent Usage>
Hooks all frames in the user interface that has an "OnEvent" script, and measures how much time they spend running this function.

<Frame OnUpdate Usage>
Hooks all frames in the user interface that has an "OnUpdate" script, and measures how much time they spend running this function.

Lacking Features, Ideas & Problems
- Customisable polling interval.
- Column header text.
Interface Usage Changes | 2010 Feb 27
- Changed the TOC version to 30300 for the 3.3 patch.

Interface Usage Changes | 2009 May 24
- The FrameScript modules (OnUpdate/OnEvent) now has a new column showing how many times the script function was called.
- Added three new polls, "Addon Spam by Prefix", "Addon Spam by Player" and "Addon Spam by Channel". They basically do the same, but having three, makes it easier to narrow down where the spam comes from.
- No polling module is initialised by default anymore, you have to select one from the drop down list.
- Modules: Default column alignment changed from "LEFT" to "RIGHT".
- Modules: Column offsets are now based on the previous column's offset, instead of zero.
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
09.05.24
11kB
Aezay
05-23-09 07:39 PM
09.05.21
10kB
Aezay
05-21-09 02:32 PM


Post A Reply Comment Options
Unread 05-01-10, 08:52 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 707
Uploads: 20
Invision
I realise the following may be a little technical, but I just wanted to say it on record, so I wont forget it if I return to WoW one day, and can actually add this.

If I remember correctly, I saw this too when I was working on this addon, the COMPANION_UPDATE event is fired a lot.
The polling module Event Calls, can be a little misleading though. What happens is, for each frame that receives this event, the counter for that event in Interface Usage is increased. This is misleading because if there are 1000 frames in the UI that has this even registered, one single event fired by WoW, will show as 1000 in Interface Usage.
This would be fixable easily by adding another column to the Event Calls polling module, that uses the function frame:RegisterAllEvents() to only record the events once per event dispatch.

A specific answer to your question would be something like this though:
The Pets tab on the character sheet, has 8 icon buttons I think? Each of those buttons will have this even registered, so you have to at least divide that number by 8. In addition, you may have a few other addons which registers this event. Don't worry too much about this, I doubt it's something that will hamper your performance.
Last edited by Aezay : 05-01-10 at 08:53 AM.
Aezay is offline Report comment to moderator  
Reply With Quote
Unread 04-29-10, 10:17 AM  
Invision
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
I was wondering if any of you could shed some light on this

http://img576.imageshack.us/img576/1092/unavngivet2.png

The amount of times COMPANION_UPDATE being called seems slightly high, is there any way of finding the culprit without disabling an addon and checking if it persists?

Thanks.
Invision is offline Report comment to moderator  
Reply With Quote
Unread 03-10-10, 11:08 AM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 707
Uploads: 20
Gregory
The frames being shown like that are the ones without a name. There is not really anyway to see what they belong to, although I guess one could see if the frame's parent had a name, or the parent's parent and so on, until you got a name that might be traceable to what addon it belongs to.
If I were still playing WoW, this would be a nice thing to add, I'll put it on the todo list.
Aezay is offline Report comment to moderator  
Reply With Quote
Unread 03-08-10, 05:20 PM  
Gregory
A Kobold Labourer

Forum posts: 0
File comments: 68
Uploads: 0
Hello, Aezay !

In Frame OnEvent/OnUpdate Usage modes it show some frames as table:[hex]. Is it possible to track somehow which addon that table belongs too ?
Gregory is offline Report comment to moderator  
Reply With Quote
Unread 02-28-10, 02:38 PM  
Aezay
A Theradrim Guardian
 
Aezay's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 707
Uploads: 20
Lombra
Glad you like it
It's actually a pretty old addon by now, but I just never developed much on it. Still wish I had added the column headers, because it's a little confusing without.
Aezay is offline Report comment to moderator  
Reply With Quote
Unread 02-27-10, 10:56 AM  
Lombra
A Cobalt Mageweaver
 
Lombra's Avatar
AddOn Author - Click to view AddOns

Forum posts: 235
File comments: 270
Uploads: 25
I love your addons. I use Examiner and Lua browser, and this one looks very promising, too. Both functionally and visually. Keep it up.
__________________
Grab your sword and fight the Horde!
Lombra is offline Report comment to moderator  
Reply With Quote
Unread 05-21-09, 03:47 PM  
thefrogi
A Murloc Raider

Forum posts: 7
File comments: 15
Uploads: 0
Very nice and sleek looking mod. Good job.
thefrogi is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.