Download
(9 Kb)
Download
Updated: 05-04-06 06:39 PM
Pictures
File Info
Updated:05-04-06 06:39 PM
Created:unknown
Downloads:3,056
Favorites:23
MD5:
OnEventWatch
Version: 1.2
by: Gello [More]
This mod estimates how long each frame's OnEvent takes to run.

__ New in 1.2 __

- Removed redundant 'Refresh' button
- Separated 'Stop' and 'Reset' buttons
- MyMinimapButton change for 1.10.2
- Events shift+clickable to chat (see below)

To use: /onevent

When you first do /onevent, it enumerates all frames and notes those with an OnEvent handler. It then wraps those OnEvent handlers with a debugprofilestart()/debugprofilestop() to estimate the time it took for the OnEvent to run.

Due to the microscopic times involved, the estimate should be taken as a comparative guide and not a definitive measurement.

All further /onevent will toggle the event tracking window. This window displays a list of all frames that received an event, those events and the estimated total and average time to process them.

You can search by frame name or event name (partials are fine) in the editboxes at the bottom of the window.

As with all profiling mods, don't use this as a sole meter for mod performance. There are many, many other things going on in mods besides OnEvent.

The minimap button serves two purposes: As a reminder that OnEventWatch is running, and as a convenient way to toggle the list without a slash command. If you'd rather not have it, you can delete the MyMinimapButton.lua file and it won't be created.

re Events shift+clickable: If the ChatFrameEditBox is open, shift+click on an event will insert that event's stats to the edit box, mostly to ctrl+c for comparison purposes (or to bore your guildmates).

1.2, 5/4/06 - made 'refresh' to 'stop', MyMinimapButton 0.7, events "linkable" to chat editbox
1.1, 4/16/06 - removed garbage creation on sorts, added minimap button, continually update list
1.0, 4/14/06 - initial release
Optional Files (0)


Post A Reply Comment Options
Unread 04-15-06, 12:24 AM  
Tekkub
Featured Artist
 
Tekkub's Avatar
Featured Addon Author

Forum posts: 953
File comments: 321
Uploads: 85
Jello, as usual, you kick ass!

/em runs off to find out which mods are being bastards on BAG_UPDATE
Tekkub is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: