Mercurial > wow > inventory
diff Core.lua @ 178:38cc9221202d
Added a test page used to determine loading times.
author | Zerotorescue |
---|---|
date | Sun, 30 Jan 2011 15:40:16 +0100 |
parents | 26c750a10b14 |
children | a44a4147b34f |
line wrap: on
line diff
--- a/Core.lua Sun Jan 30 15:39:53 2011 +0100 +++ b/Core.lua Sun Jan 30 15:40:16 2011 +0100 @@ -1,3 +1,9 @@ +--@debug@ +IMStartLoadTime = GetTime(); +collectgarbage("collect"); +IMStartLoadMemory = collectgarbage("count"); +--@end-debug@ + -- You can access this addon's object through: LibStub("AceAddon-3.0"):GetAddon("Inventorium") local addon = select(2, ...); addon = LibStub("AceAddon-3.0"):NewAddon(addon, "Inventorium", "AceEvent-3.0");