Category: Miscellaneous
Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
r20090903
Date:
09-03-2009 10:09 PM
Size:
8.52 Kb
Downloads:
2,042
Favorites:
77
MD5:
Pictures
Click to enlarge
Addon Profiler
Memory and CPU profiling addon, let's you set a period of time in seconds to profile over where it will keep track of total CPU used, CPU used per second as well as (tries) to keep track of how much garbage an addon creates over the duration it is profiling.

Includes an option to group any modules into their parents so you can more accurately see how much addons are really using, if you have addon Orange that lists Apple as a required depedency (And that's its only dependency) then Apple will list its own stats combined with Oranges as well, you can click on the main addon to see what it's modules are using specifically.

Slash commands: /profiler (/ap)


  Change Log - Addon Profiler
Author: Shadowed <shadowed.wow@gmail.com>
Date: Wed Sep 2 19:45:38 2009 -0700
- Fixed issues related to profiling with filters up
- Fixed children not showing if their parent is filtered (Orphaning children is always a sad thing)

Date: Wed Aug 5 14:21:36 2009 -0700
- Fixed CPU to show in seconds instead of milliseconds, CPU/Sec still shows in milliseconds thought
- Added text indicating CPU is shown in seconds, CPU/Sec in milliseconds
TOC Bump + AddonLoader support
* Split localization into its own file

Date: Sun Jul 12 11:12:55 2009 -0700
* Fixed average cpu used a second being off when modules are enabled

Date: Sun Jul 5 01:18:52 2009 -0700
* Fixed profiler interrupted message
* Changed addon modules to be expanded by default
* Added how long the profiling was to the finished message
* Increased displayed rows from 12 to 18

Date: Tue Jun 23 15:30:41 2009 -0700
* Changed garbage collection detection, now stops the GC during profile and manually runs a step and then restarts the GC once profiling is done. This should keep the GC numbers at least somewhat accurate without killing performance by having to check memory in a OnUpdate

Date: Mon Jun 22 21:56:17 2009 -0700
* Actually changed to .- in case multiple underscores are used in a folder name
* Fixed sorting not working correctly when you had include modules enabled
* Fixed sorting not using average CPU when scan finished
* Fixed module detection, now attempts to use <parent>_<module> to find the owner first, then it falls back to check if it has only one dependency and associates it that way
* Changed to formating to the second decimal place instead of the first for all stats
* Changed to chat frame background as it's easier to read the text when the frame isn't 70% alpha
* Added an addon filter so you can only profile an addon or two if wanted
* After profiling finishes, CPU/Sec will turn into Avg/Sec and show the average CPU time in seconds over the profile time
* Fixed a few things that I broke when renaming
* Quick profiling addon that you can set to run for X amount of seconds, stats are reset at the start when it profiles, also attempts to keep track of how much garbage an addon creates. Includes support to group any "modules" into their parents, so if addon Apple has Orange as it's only dependency, then Orange will list its own stats combined with Apple's as well.
* Git being a pain
* Quick profiling addon, lets you set a profile duration where it'll keep track of total CPU used over the passed period of time, as well as total amount of garbage created. Profiling stats are reset when you start a new profiler.
  Optional Files - Addon Profiler
Sorry, there are currently no optional files available.
  Archived Versions - Addon Profiler
File Name
Version
Size
Author
Date
r20090805
8kB
Shadowed
08-05-2009 05:21 PM
r20090712
7kB
Shadowed
07-12-2009 02:14 PM
r20090705
7kB
Shadowed
07-05-2009 04:19 AM
r20090624
7kB
Shadowed
06-24-2009 05:22 AM
r20090623
7kB
Shadowed
06-23-2009 03:09 AM
r20090622
6kB
Shadowed
06-22-2009 08:29 PM
  Comments - Addon Profiler
Post A Reply Comment Options
Old 09-02-2009, 10:40 PM  
Shadowed
Premium Member
Premium Member
Interface Author - Click to view interfaces

Forum posts: 40
File comments: 1729
Uploads: 90
Got distracted with other things sorry, it's been fixed I'll do a push tomorrow but in the meantime get https://github.com/Shadowed/AddonProfiler/ to fix it
Shadowed is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-21-2009, 07:02 AM  
Lunarion
A Murloc Raider
 
Lunarion's Avatar

Forum posts: 8
File comments: 32
Uploads: 1
I also recieved the error mentioned below. Any chance of fixing the problem if you are able to identify it?
__________________
Lunarion is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-10-2009, 06:07 PM  
drdead
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
got the following error

Code:
[02:05:05] Interface\AddOns\AddonProfiler\AddonProfiler.lua:35: attempt to index field '?' (a nil value)
[C]: ?
Interface\AddOns\AddonProfiler\AddonProfiler.lua:35: in function <Interface\AddOns\AddonProfiler\AddonProfiler.lua:10>
Interface\AddOns\AddonProfiler\AddonProfiler.lua:79: in function <Interface\AddOns\AddonProfiler\AddonProfiler.lua:74>
drdead is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-01-2009, 07:53 AM  
Zidomo
An Aku'mai Servant
 
Zidomo's Avatar

Forum posts: 37
File comments: 601
Uploads: 0
Seems like an excellent, more usable version of what was available in OptionlessHouse. But it throws an error and bugs out when testing with a metric ton of mods/disembedded libraries active (a few hundred).

r20090624, USEnglish client/server, WoW 3.1.3 live. Checkmark all three option boxes in the mod and reload UI to activate CPU profiling. Use the default "profile duration" of 60 seconds. Have nothing listed in the "Addon filter".

Click the "Start" button and:
[2009/07/01 07:36:59-664-x138]: AddonProfiler\AddonProfiler.lua:60: attempt to index field '?' (a nil value)
AddonProfiler\AddonProfiler.lua:106: in function <Interface\AddOns\AddonProfiler\AddonProfiler.lua:101>

The seconds counter at the top of the Addon Profiler frame freezes at "59 seconds left". No numbers change in the mod listing. Press "Stop" and all entries in the "Avg/Sec" column read "-1.#]". The error above repeats several times every time you click the "Start/Stop" button. Reproducible on every UI reload.

Tested again with just a handful of mods/disembedded libraries active (less than 10) under the same conditions as the second paragraph. No errors, the timer counted down properly and got accurate readings in the mod listing.
Zidomo is offline Report comment to moderator   Edit/Delete Message 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.




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.