Category: Data Broker
Addon Information
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)
Mera's Portal Bug Reports Feature Requests
Author:
Version:
30100.16
Date:
04-27-2009 07:21 AM
Size:
18.30 Kb
Downloads:
16,809
Favorites:
411
MD5:
Pictures
Click to enlarge
BrokerCPU w/ LibQTip + Merah w/ her baby Loque'nahak ;D
Click to enlarge
BrokerCPU w/ LibQTip + Merah w/ Blizzard Bear Mount w/ Toundra travel mammoth All in one Lmao ;D
Broker CPU / Memory / Performance   Popular! (More than 5000 hits)
French support: Pour des questions/commentaires en Français vous pouvez utiliser JeuxOnline ou JudgeHype


A lightweight Data Broker plugin to visualize AddOn CPU/Memory usage, Framerate and Latency.
  • Automatic tooltip actualisation w/ configurable thresholds
  • Can use a simple GameTooltip or advanced LibQTip
  • No required librairies, they are just enhancements
  • Can force to not use a library if it's detected but not needed
  • Designed to be the most performance friendly it can
  • Less resources usage and better readability than PerformanceFu w/ Tablet
  • TekkubcolorGradients, Garbage collect, Detachable tooltip and more...
  • /cpu, /brokercpu or /broker_cpu to show usage

Reminder for beginners with LDB plugins:
Any LDB plugin from this site section doesn't work in standalone, for a minimal use you need at least LibDBIcon OR for an optimal use choose a LDB display plugin, but in the case of BrokerCPU it's recommanded to use a LDB display rather than LibDBIcon if do you want to see short resources usages infos displayed on the screen.

To get optional features you can (none mandatory)
  • Install LibQTip for cpudiff, memorydiff, icons columns & a cleaner tooltip
  • Install LibDBIcon for a minimap icon
  • Install DewdropLib for a quick menu to set options without using command lines
  • The mod also supports AddonLoader

Known LDB displays: (none mandatory if you are using LibDBIcon)
Click here for an updated list

LDB (LibDataBroker) is a neat & lightweight library developed by Tekkub™ allowing developers to build very short or strong codes compatible with all "FuBar" like mods, more infos here.

Note: CPU profiling which is by default to OFF in the Blizzard client should remain OFF when you don't need it, this is much a debugging option rather than a permanent performance meter, enabling CPU profiling could affects gaming performance, but helps a lot benchmarking addons, finding bugs, etc...



















Note that when you run with libraries embedded in your addons, their CPU and memory usage will be reported as belonging to that addon, which is not entirely true if you use other addons that make use of the same libraries. It is preferred to run only standalone libraries (one copy installed like a standard AddOn with the .toc file) so you can show resources used per AddOns and libraries separately.

Some hints to install a standalone library correctly:
  • You just install a standalone library like any other addon in the same Interface\AddOns\ folder
  • The library must have a .toc file and the library folder must have the same name than the .toc file, example with DewdropLib the path should looks like Interface\AddOns\DewdropLib\DewdropLib.toc
  • Then the longuest part is to remove the library you just installed in standalone from every addon you use that could embed it, then you are sure that only the standalone library is called and the consumed resources are correctly belonging to it.
  • Some libraries are NOT to dis-embed, so if do you see the most popular embeds LibDataBroker, AceLibrary, LibStub, CallBackHandler, just leave them embedded, they are not designed to be standalone (If a library does not provide a .toc file it's not designed to be standalone)
  Change Log - Broker CPU / Memory / Performance
Revision: 16
Author: Mera-92869
Date: 14:18:56, lundi 27 avril 2009
Message:
Broker_CPU:
-toc update
-some code cleanup
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua
Modified : /trunk/Broker_CPU/Broker_CPU.toc

Revision: 15
Author: Mera-92869
Date: 9:32:26 PM, Wednesday, March 11, 2009
Message:
Broker_CPU:
-fix: db not properly saved when no savedvariables
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua

Revision: 14
Author: Mera-92869
Date: 9:34:16 PM, Tuesday, March 10, 2009
Message:
Broker_CPU:
-perf: kill again abnormal memory uses, small gain
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua

Revision: 13
Author: Mera-92869
Date: 9:04:34 PM, Monday, March 09, 2009
Message:
Broker_CPU:
-fix: db nil error
-workaround: to new caveat added in LibDBIcon revision 7
-desc: no need to be that nice with them
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua

Revision: 12
Author: Mera-92869
Date: 10:55:18 PM, Sunday, March 08, 2009
Message:
Broker_CPU:
-add: simplified localization system
-add: more options to simplify what is shown in tooltips and ldb texts
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua

Revision: 11
Author: Mera-92869
Date: 9:18:35 PM, Thursday, March 05, 2009
Message:
Broker_CPU:
-add: colors (tekkubs colorgradient wowwiki.com/ColorGradient)
-fix: conflict on apis UpdateAddOn...Usages between tooltip & ldbtext
-perf: simpler check of cpu diff if tooltip threshold <= 2
-perf: significant lower of the memory usage, was creating too much tables and so on garbage
-add: autoresising if tooltips goes outside the screen (for n00bs like yess ;pp)
-fix: less chat flood with some dewdrop options
----
Modified : /trunk/Broker_CPU
Modified : /trunk/Broker_CPU/Broker_CPU.lua
Modified : /trunk/Broker_CPU/Broker_CPU.toc

Revision: 10
Author: Mera-92869
Date: 11:42:40 PM, Thursday, February 26, 2009
Message:
Broker_CPU:
-add: option to force lib detection
-fix: let ldb displays handling GameTooltip scales otherwise too conflicting, scale option now requires QTip
-perf: QTip icons are no more buttons and no more table stored, just SetBackdrop() is enough since cells are Frames & simple OnHide script to set back...
-perf: QTip does not more create more columns than required, so no more fantom cells taking extra cpu usage for nothing helpful.
-perf: QTip does no more recreate each lines to each loops, instead create them only once and just update the cells
-small code cleanups
----
Modified : /trunk/Broker_CPU
Modified : /trunk/Broker_CPU/Broker_CPU.lua

Revision: 9
Author: Mera-92869
Date: 1:09:27 AM, Monday, February 23, 2009
Message:
Broker_CPU:
-memory collection does no more require scriptProfiling
-better recycling of strings & tables
-can detach tooltip
-configurable throttle ldb &/or tooltip text
-configurable scale
-can toggle icons on/off
-can collect latency and framerate
-added AddonLoader support
-all globals are sent to locals for better peformances
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua
Modified : /trunk/Broker_CPU/Broker_CPU.toc

Revision: 8
Author: Mera-92869
Date: 11:35:16 AM, Friday, February 13, 2009
Message:
Broker_CPU:
-option for an easier cpu profiling toggling
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua

Revision: 7
Author: Mera-92869
Date: 1:53:55 AM, Friday, February 13, 2009
Message:
Broker_CPU:
-command lines
-optional DewdropLib support
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua
Modified : /trunk/Broker_CPU/Broker_CPU.toc

Revision: 6
Author: Mera-92869
Date: 3:27:52 PM, Wednesday, February 11, 2009
Message:
Broker_CPU:
-typo
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua

Revision: 5
Author: Mera-92869
Date: 3:20:07 PM, Wednesday, February 11, 2009
Message:
Broker_CPU:
-could now check memory (/script _G.BROKERCPUDB["memory"] = 0) to disable
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua
Modified : /trunk/Broker_CPU/Broker_CPU.toc

Revision: 4
Author: Mera-92869
Date: 8:14:40 PM, Tuesday, February 10, 2009
Message:
Broker_CPU:
-less QTip resizes
----
Modified : /trunk/Broker_CPU
Modified : /trunk/Broker_CPU/Broker_CPU.lua
Modified : /trunk/Broker_CPU/Broker_CPU.toc

Revision: 3
Author: Mera-92869
Date: 2:18:01 PM, Tuesday, February 10, 2009
Message:
-revert some debug test
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua
Modified : /trunk/Broker_CPU/Broker_CPU.toc

r3
some icons

r2
-added ommitted gametooltip secure checks
-fixed nil bug
-removed AceTimer3
  Archived Versions - Broker CPU / Memory / Performance
File Name
Version
Size
Author
Date
30000.15
18kB
Mera
03-11-2009 03:35 PM
  Comments - Broker CPU / Memory / Performance
Post A Reply Comment Options
Old 07-21-2010, 06:25 PM  
speak
A Cyclonian
 
speak's Avatar

Forum posts: 45
File comments: 143
Uploads: 0
font changes when mousing over

I use docking station and this addon.

i also use tekticles to make my fonts nicer everywhere in game.

when mousing over any of my other plugins (prat, fdas/fdar, myvault, clock, etc.), everything is fine.

when i mouse over this plugin, my fonts change to a very tiny font for things like tooltips.

if i /rl the problem goes away until i mouse over this plugin again.

any ideas?
speak is online now Report comment to moderator  
Reply With Quote
Old 07-13-2010, 11:47 PM  
ComputerNerd
A Murloc Raider

Forum posts: 4
File comments: 13
Uploads: 0
If you are running the CPU profiling then that would explain the lags you are experiencing.
That is a very demanding feature, and will have a performance impact.
That is meant as a diagnostic, or information tool.
Not something you run all the time, only when you need to identify the source of other cpu hogs.
ComputerNerd is offline Report comment to moderator  
Reply With Quote
Old 06-12-2010, 04:59 PM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 319
File comments: 107
Uploads: 7
No Zidomo, if I had included LibDBIcon + QTip + Dewdrop, the Broker_CPU cpu and memory usages would belong to LibDBIcon + QTip + Dewdrop + Broker_CPU

My advice, just install the libraries as a normal AddOn and remove them all from each AddOn folder embedding it, if you do this you are sure only one instance of the library is installed and updating it is just quicker so you can see its cpu and mem usage not spoofed under another addon name.

When you do install in windows a .NET Framework application, this last does not include .NET 3.5, you install it one time for all .NET application right ? thin it like that. This is even more crucial for a profiling tool...
__________________
BrokerCPU, EasyDND, OneCompanion, BrokerClearChat
wowdiff, wowluatxt
ThunderBayes++ (a strong antispam plugin for Thunderbird 3.x and OSX/Linux/Windows)
Mera is offline Report comment to moderator  
Reply With Quote
Old 05-03-2010, 07:12 PM  
Zidomo
A Theradrim Guardian
 
Zidomo's Avatar

Forum posts: 61
File comments: 819
Uploads: 0
If you require Dewdrop-2.0 for a user to access the non-command options, you really should include that library in the download. Its not standard/advised/etc. to provide a function that needs a library and not include that library in the download.

If you provided the non-command options in Blizzard's option panel instead, that wouldn't be necessary. The user could (for instance) right click the LDB display/minimap icon to open the Blizzard options panel to the mod's options.
Zidomo is offline Report comment to moderator  
Reply With Quote
Old 04-20-2010, 06:55 AM  
Hylander
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Quote:
Originally posted by rolfba
I too had this problem, when BrokerCPU is enabled and im running, i get very small lag/graphic freezes, where it looks like everything just stops for 10ms about every 2secs.
confirmed, same for me.
i use DockingStation as my LDB-enabled bar , and i have the exact same issue.

Setting BrokerCPU to refresh itself every second will drastically increase that lag, making it really obvious that it comes from BrokerCPU's refresh call ...

could we narrow it somehow down ?
it must be something in the code, seeing as other similar addons won't produce this lag ...
Hylander is offline Report comment to moderator  
Reply With Quote
Old 03-20-2010, 01:02 AM  
rolfba
A Kobold Labourer
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 4
Uploads: 2
Quote:
Originally posted by AmiYuy
Ironically, this addon was causing me to have periodic lag every time it updated it's tooltip while running. Standing still I noticed no issues.
I too had this problem, when BrokerCPU is enabled and im running, i get very small lag/graphic freezes, where it looks like everything just stops for 10ms about every 2secs.

I was very suprised to find out that i could fix this problem just by disabling brokercpu, and keep all my other much bigger addons enabled.

Not sure why it is doing this, but it does :/

/Rolf
rolfba is offline Report comment to moderator  
Reply With Quote
Old 02-02-2010, 06:06 AM  
stencil
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Thanks for the addon. I'm using it to try to find and replace poor performing addons in the hope that it helps my DC problems (which seem to have started when ICC was introduced). I have a few suggestions that I think would make it even better.

1) The sum of all the CPU time spent in addons is shown; I'd like to also see it as a percentage of the total time that has elapsed since the profiler started recording it. Now, enough time is spent in idle where not a lot is going for the addons to process that this number will quickly become very small and so this may not seem very useful unless ....

2) ... an option is added to reset the totals back to 0 and start collecting again from that point. A lot of addons may have a constant level of activity that over time could keep them near the top of the list. But what I'm really looking for are the ones that in the crucnch, say aoe'ing ony's whelp backs, might be bringing WoW to its knees. Being able to reset and start collection before or in the midst of a situation like that could really show which addons have trouble scaling and are the potential problems.

3) With LibQTip installed we get another column showing the rate of growth of memory or cpu usage of an addon. I'd like as an option to be able to have the addons ordered not by total but by rate of change. Again, so you can see which addons are right now, sucking up the most cycles.

Thanks.
stencil is offline Report comment to moderator  
Reply With Quote
Old 01-21-2010, 05:37 AM  
sietelle
A Kobold Labourer

Forum posts: 1
File comments: 48
Uploads: 0
I am running this addon along with Statsblock_Folks; for some reason when I have my mouse over your Broker CPU for an extended amount of time (about 6 seconds+) I get this error....any help? I figure I'd post this here since it's your tooltip that seems to be causing the problem.


1x StatBlock_Folks-2.1.4\StatBlock_Folks.lua:25: attempt to index local 'frame' (a nil value)
StatBlock_Folks-2.1.4\StatBlock_Folks.lua:84: in function `OnEnter'
StatBlock_Folks-2.1.4\StatBlock_Folks.lua:53: in function `?'
StatBlock_Folks-2.1.4\StatBlock_Folks.lua:17: in function <StatBlock_Folks\StatBlock_Folks.lua:17>

Locals:
frame = nil
update = "update"
(*temporary) = <function> @ DockingStation\Core.lua:161:
(*temporary) = GameTooltip {
Outfitter_OrigSetBagItem = <function> defined =[C]:-1
SetExistingSocketGem = <function> defined =[C]:-1
SetCurrencyToken = <function> defined =[C]:-1
SetGuildBankItem = <function> defined =[C]:-1
Outfitter_OrigSetHyperlink = <function> defined =[C]:-1
comparing = false
SetSocketGem = <function> defined =[C]:-1
Show = <function> @ TipTac\core.lua:823:
SetUnitDebuff = <function> defined =[C]:-1
SetLootItem = <function> defined =[C]:-1
SetQuestItem = <function> defined =[C]:-1
FadeOut = <function> @ TipTac\core.lua:833:
SetInboxItem = <function> defined =[C]:-1
SetBuybackItem = <function> defined =[C]:-1
shoppingTooltips = <table> {}
SetHyperlinkCompareItem = <function> defined =[C]:-1
SetMerchantItem = <function> defined =[C]:-1
SetMerchantCostItem = <function> defined =[C]:-1
SetBackpackToken = <function> defined =[C]:-1
SetTradeTargetItem = <function> defined =[C]:-1
SetTradePlayerItem = <function> defined =[C]:-1
SetSendMailItem = <function> defined =[C]:-1
updateTooltip = 0.14599999673665
SetInventoryItem = <function> @ Outfitter\Outfitter.lua:6954:
Outfitter_OrigSetInventoryItem = <function> defined =[C]:-1
SetUnitBuff = <function> defined =[C]:-1
SetLootRollItem = <function> defined =[C]:-1
SetUnitAura = <function> defined =[C]:-1
SetTrainerService = <function> defined =[C]:-1
SetAuctionSellItem = <function> defined =[C]:-1
SetBagItem = <function> @ Outfitter\Outfitter.lua:6940:
SetQuestLogItem = <function> defined =[C]:-1
0 = <userdata>
SetHyperlink = <function> @ Outfitter\Outfitter.lua:6974:
SetTradeSkillItem = <function> defined =[C]:-1
SetAuctionItem = <function> defined =[C]:-1
}
fFrame = nil
GetTipAnchor = <function> @ StatBlock_Folks\StatBlock_Folks.lua:24:
L_FRIENDS = " "
format = <function> defined =[C]:-1
Fcount = 1
GetFriendInfo = <function> defined =[C]:-1
RGB2Hex = <function> @ StatBlock_Folks\StatBlock_Folks.lua:57:
Friend2Color = <function> @ StatBlock_Folks\StatBlock_Folks.lua:61:
L_TOOLTIP_F = "
Click to open the friends panel"

---
sietelle is offline Report comment to moderator  
Reply With Quote
Old 01-09-2010, 04:13 AM  
AmiYuy
A Murloc Raider
 
AmiYuy's Avatar
Interface Author - Click to view interfaces

Forum posts: 4
File comments: 37
Uploads: 1
Ironically, this addon was causing me to have periodic lag every time it updated it's tooltip while running. Standing still I noticed no issues.
AmiYuy is offline Report comment to moderator  
Reply With Quote
Old 12-09-2009, 09:17 PM  
Zake202
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I like this addon a lot but I had 2 questions.

I should also mention I'm coming from fubar_performanceFu.

Is there a way to make the fps update in real time? I know several others update it constantly, this one takes a few seconds it seems?

Secondly, can I do a mem dump at all with this? I know the performance one could, it helped when I was too lazy to disable recount in BG's etc.

Edit: NVM!!!! I figured out how with the commands. Didn't realize there were any. =)
Last edited by Zake202 : 12-09-2009 at 09:30 PM.
Zake202 is offline Report comment to moderator  
Reply With Quote
Old 10-18-2009, 01:12 PM  
xekon
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I have a very small feature request I would like to make, would it be possible to add an option so that the fps can be formatted rounded to whole number or simply truncating the decimal... ide rather look at my fps on the bar as a single 2 or 3 digit number with out the decimal place.
xekon is offline Report comment to moderator  
Reply With Quote
Old 08-28-2009, 03:16 PM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 25
File comments: 646
Uploads: 2
Re: Re: Re: Re: Re: Re: IconR

Quote:
Originally posted by jbashara
Thanks so much.
No problem man. =D
__________________
There is absolutely no evidence to support the theory that life is serious.
xtoq is offline Report comment to moderator  
Reply With Quote
Old 08-20-2009, 01:01 PM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 319
File comments: 107
Uploads: 7
hello, Im at school yet no vacations ;( hope the mod is still ok for you guys and girls, yet not ready and tempted to go back nolifing on Wow
Mera is offline Report comment to moderator  
Reply With Quote
Old 06-14-2009, 11:40 AM  
Skylinee
A Kobold Labourer

Forum posts: 0
File comments: 287
Uploads: 0
Could you make it so that left-clicking the LDB display forces a garbage collect, similar to other memory addons? Would be simpler than having to click, scroll and click. Thanks for your work.
Skylinee is offline Report comment to moderator  
Reply With Quote
Old 06-02-2009, 11:29 PM  
jbashara
A Deviate Faerie Dragon
 
jbashara's Avatar

Forum posts: 10
File comments: 25
Uploads: 0
Re: Re: Re: Re: Re: IconR

Quote:
Originally posted by xtoq
I finally found it. However, I recommend you still follow my troubleshooting, as I'm sure the author would like to know about this weirdness.

Open Broker_CPU.lua in an editor like Notepad (make sure it is a plain text editor, not Word or Works). Delete line 1096 completely, leaving no blank line. The line reads:

icon = icon,

You're done.
Thanks so much.
jbashara is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:




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


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