Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(3 Kb)
Download
Updated: 12-09-06 05:43 PM
Pictures
File Info
Updated:12-09-06 05:43 PM
Created:unknown
Downloads:16,296
Favorites:177
MD5:
Warmup  Popular! (More than 5000 hits)
Version: 2.0.030.repack
by: Tekkub [More]
Please visit AceWiki for more info and links.
Please direct all feedback to my portal


During my conversion to ACE mods, I started wondering how long each of my mods added to my login/reloadui time. So I wrote this little bugger to find out. It will dump times into your combat log on startup and reloadUI. You can see how long each mod takes, which mod takes the longest, and each step of loadup (Loading the mods, entering the world, etc).

Oh yea, this will also time zoning across an instance

This also hooks the ReloadUI() function (but alas not /console reloadui) and provides a /rl command to reload with timer. If you use either of these means (but not /console reloadui) then it will time the time of the reload as well (IE it will tell you times for Reload, addons, entering world, total time)

Big important note about v2.0+
Don't leave Warmup enabled every time you log in. The changes for GC data will have drastic effects on your performance. Warmup is a tool to aid addon development, not something for the enduser to just install and forget about.

Because of this, I've tweaked Warmup to auto-disable itself. This means you must manually enable it any time you want to use it. I've also added /rlnd (reload no disable) to allow you to reload the UI with Warmup stil enabled.
Optional Files (1)
File Name
Version
Size
Author
Date
Type
2.0.430
4kB
03-27-12 10:37 AM
Patch


Post A Reply Comment Options
Unread 10-20-14, 06:38 PM  
CanadianJeff
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
Lua error

Message: Interface\AddOns\!!Warmup\Warmup.lua:203: attempt to concatenate upvalue 'biggestaddon' (a nil value)
Time: 10/20/14 12:28:55
Count: 1
Stack: Interface\AddOns\!!Warmup\Warmup.lua:203: in function `?'
Interface\AddOns\!!Warmup\Warmup.lua:55: in function <Interface\AddOns\!!Warmup\Warmup.lua:50>

Locals: self = <table> {
PLAYER_LEAVING_WORLD = <function> defined @Interface\AddOns\!!Warmup\Warmup.lua:265
ADDON_LOADED = <function> defined @Interface\AddOns\!!Warmup\Warmup.lua:151
Init = <function> defined @Interface\AddOns\!!Warmup\Warmup.lua:118
PLAYER_LOGIN = <function> defined @Interface\AddOns\!!Warmup\Warmup.lua:233
PLAYER_ENTERING_WORLD = <function> defined @Interface\AddOns\!!Warmup\Warmup.lua:239
VARIABLES_LOADED = <function> defined @Interface\AddOns\!!Warmup\Warmup.lua:189
PLAYER_LOGOUT = <function> defined @Interface\AddOns\!!Warmup\Warmup.lua:280
DumpEvents = <function> defined @Interface\AddOns\!!Warmup\Warmup.lua:138
OnLoad = <function> defined @Interface\AddOns\!!Warmup\Warmup.lua:113
}
lastmem = 23658.1640625
(*temporary) = <function> defined @Interface\AddOns\!!Warmup\Warmup.lua:68
(*temporary) = "Biggest addon: "
(*temporary) = nil
(*temporary) = 0.0040152216767513
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to concatenate upvalue 'biggestaddon' (a nil value)"
varsloadtime = 299715.55
stop = <function> defined @Interface\AddOns\!!Warmup\Warmup.lua:29
start = <function> defined @Interface\AddOns\!!Warmup\Warmup.lua:19
gctime = 0.12558197499894
PutOut = <function> defined @Interface\AddOns\!!Warmup\Warmup.lua:68
threshcolors = <table> {
1 = ""
2 = ""
3 = ""
4 = ""
}
totaltime = 0.058951008500666
initmem = 23609.59375
totalgarbage = 145.10546875
longestaddon = "Blizzard_DebugTools"
longesttime = 0.05492007781892
biggestaddon = "Blizzard_DebugTools"
biggestmem = 1081.765625
mostgarbageaddon = "Blizzard_DebugTools"
mostgarbage = 124.9619140625
frame = WarmupFrame {
0 = <userdata>
}
sv = <table> {
addoninfo = <table> {
}
}
reloading = nil
CanadianJeff is offline Report comment to moderator  
Reply With Quote
Unread 11-03-12, 01:11 PM  
Kuipo
A Kobold Labourer
 
Kuipo's Avatar

Forum posts: 0
File comments: 1
Uploads: 0
I've updated Cybeloras' code to work in 5.0.5:

Updated lua file:
http://pastebin.com/HqJadptX
Updated xml file:
http://pastebin.com/U1jHXh5s

Thank you Cybeloras for your update, and thank you to Tekkub for the original addon.
Kuipo is offline Report comment to moderator  
Reply With Quote
Unread 01-29-12, 02:40 AM  
Aisenfaire
A Murloc Raider

Forum posts: 4
File comments: 270
Uploads: 0
Re: 4.3

Originally Posted by Cybeloras
It seems that (at least for me) in 4.3, GetTime() does not update its return value inside loading screens anymore, which means that Warmup cannot use it anymore to time addon loading. I have updated the code to use debugprofilestart and debugprofilestop instead, but some features had to be removed (such as ReloadUI timing) because you can only have one debugprofile timer running at once, and it does not carry over between sessions.

Note that this also includes some of my own modifications that I have made to the code for various testing purposes (such as arg counts for events that fire, used to determine what events SpeedyLoad should disable.)

Updated lua file:
http://pastebin.com/ivkfGn6V
Updated xml file:
http://pastebin.com/xkXLAgYb
Thank you so much for sharing!
Aisenfaire is offline Report comment to moderator  
Reply With Quote
Unread 12-03-11, 03:25 PM  
Cybeloras
A Fallenroot Satyr
 
Cybeloras's Avatar
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 256
Uploads: 8
4.3

It seems that (at least for me) in 4.3, GetTime() does not update its return value inside loading screens anymore, which means that Warmup cannot use it anymore to time addon loading. I have updated the code to use debugprofilestart and debugprofilestop instead, but some features had to be removed (such as ReloadUI timing) because you can only have one debugprofile timer running at once, and it does not carry over between sessions.

Note that this also includes some of my own modifications that I have made to the code for various testing purposes (such as arg counts for events that fire, used to determine what events SpeedyLoad should disable.)

Updated lua file:
http://pastebin.com/ivkfGn6V
Updated xml file:
http://pastebin.com/xkXLAgYb
Cybeloras is offline Report comment to moderator  
Reply With Quote
Unread 07-21-11, 01:52 PM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 11
File comments: 207
Uploads: 0
Re: Still works

Originally posted by killerpet1986
This still works you just need to change line 49+50 in warmup.xml from
Code:
this:SetBackdropBorderColor(0.9, 0.82, 0.0);
this:SetBackdropColor(0, 0, 0);
to

Code:
WarmupOutputFrame:SetBackdropBorderColor(0.9, 0.82, 0.0);
WarmupOutputFrame:SetBackdropColor(0, 0, 0);
https://github.com/tekkub/Warmup/issues/2

Closed =(
__________________
spiralofhope.com
spiralofhope is offline Report comment to moderator  
Reply With Quote
Unread 02-11-11, 12:21 PM  
bezal
A Murloc Raider

Forum posts: 7
File comments: 22
Uploads: 0
Quick question.

I was looking at this the other day and there's a line at the bottom which tells you the mod that has the most 'garbage'. What does this really mean?

Does it mean that mod is loading a lot of unnecessary files/info or what? Just looking for your def or garbage.

Thanks!
bezal is offline Report comment to moderator  
Reply With Quote
Unread 12-16-10, 12:21 PM  
spiralofhope
A Deviate Faerie Dragon
 
spiralofhope's Avatar

Forum posts: 11
File comments: 207
Uploads: 0
This is working fine for me.

I applied the modificaiton suggested below, thanks.
__________________
spiralofhope.com
spiralofhope is offline Report comment to moderator  
Reply With Quote
Unread 10-30-10, 01:19 AM  
killerpet1986
A Fallenroot Satyr
 
killerpet1986's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 40
Uploads: 18
Still works

This still works you just need to change line 49+50 in warmup.xml from
Code:
this:SetBackdropBorderColor(0.9, 0.82, 0.0);
this:SetBackdropColor(0, 0, 0);
to

Code:
WarmupOutputFrame:SetBackdropBorderColor(0.9, 0.82, 0.0);
WarmupOutputFrame:SetBackdropColor(0, 0, 0);
Last edited by killerpet1986 : 10-30-10 at 01:20 AM.
killerpet1986 is offline Report comment to moderator  
Reply With Quote
Unread 03-30-10, 11:06 PM  
SiderisAnon
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
I have downloaded and am using this mod to determine which of my addons is dragging out my login, so everything appears to still be working under 3.3. I'm using the "/wu" command to bring up the listing, as was suggested by the previous poster.
SiderisAnon is offline Report comment to moderator  
Reply With Quote
Unread 11-29-09, 09:43 AM  
Amemir
Son of a Murloc
 
Amemir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 40
Uploads: 1
Originally posted by Gethe
This addon doesn't seem to work anymore, I can't see the time info in the combat log. Is there another addon that can do the same thing?
Thsi addon actually still works, you can use the slash command /wu to bring up a frame with the loading times in.
Amemir is offline Report comment to moderator  
Reply With Quote
Unread 06-19-09, 07:14 PM  
Gethe
Featured Artist
 
Gethe's Avatar
Featured Addon Author

Forum posts: 255
File comments: 83
Uploads: 5
This addon doesn't seem to work anymore, I can't see the time info in the combat log. Is there another addon that can do the same thing?
Last edited by Gethe : 06-19-09 at 07:17 PM.
Gethe is offline Report comment to moderator  
Reply With Quote
Unread 05-15-09, 07:15 PM  
Gako
A Fallenroot Satyr
 
Gako's Avatar

Forum posts: 29
File comments: 11
Uploads: 0
Neat I lov ur mods and this one is exactly what I'm looking for.
Gako is offline Report comment to moderator  
Reply With Quote
Unread 12-19-06, 11:37 AM  
Arxon_Havenloft
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Sweet! I've been looking for a working version of this!

And with even more features even...
__________________
Arxon_Havenloft is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: