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 08:21 AM
Size:
18.30 Kb
Downloads:
14,179
Favorites:
377
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 04:35 PM
  Comments - Broker CPU / Memory / Performance
Post A Reply Comment Options
Old 02-02-2010, 07: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   Edit/Delete Message Reply With Quote
Old 01-21-2010, 06:37 AM  
sietelle
A Kobold Labourer

Forum posts: 1
File comments: 34
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   Edit/Delete Message Reply With Quote
Old 01-09-2010, 05:13 AM  
AmiYuy
A Murloc Raider
 
AmiYuy's Avatar
Interface Author - Click to view interfaces

Forum posts: 4
File comments: 34
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   Edit/Delete Message Reply With Quote
Old 12-09-2009, 10: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 10:30 PM.
Zake202 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-18-2009, 02: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   Edit/Delete Message Reply With Quote
Old 08-28-2009, 04:16 PM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 25
File comments: 624
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   Edit/Delete Message Reply With Quote
Old 08-20-2009, 02:01 PM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 315
File comments: 104
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   Edit/Delete Message Reply With Quote
Old 06-14-2009, 12:40 PM  
Skylinee
A Kobold Labourer

Forum posts: 0
File comments: 209
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   Edit/Delete Message Reply With Quote
Old 06-03-2009, 12:29 AM  
jbashara
Zam editor
 
jbashara's Avatar

Forum posts: 10
File comments: 18
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   Edit/Delete Message Reply With Quote
Old 05-30-2009, 10:05 AM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

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

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.

Last edited by xtoq : 05-30-2009 at 10:06 AM.
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-29-2009, 06:29 PM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

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

Quote:
Originally posted by jbashara
FuBar via Broker2FuBar. Although I think I remember testing it in ButtonBin, which I also use, with the same problem. I'll have to check.

The thing with Broker2FuBar is that it has an options menu that allows you to enable or disable broker icons and/or text. I don't have the problem with any other LDB addons. This is the only one that I can't permanently disable the icon for. The icon will stay hidden for the session, but on every client restart it's back up there.

Are there a couple lines of code in the .lua file that I can just delete to remove the icon? (Or break it, assuming it doesn't just show a blank placeholder like it does when I remove the icon graphic .tga from the folder?)
Hmmm, I don't know about that, I'm not really a programmer, more like a code hacker (in the hackney sense of the word). I'll poke around the lua, but sounds like you've done that already. I know that Broker2Fubar is the reason I finally quit the whole Fubar thing. So many addons were going to LDB and Broker2Fubar had so many issues, yet seemed like there wasn't much support going on for it and the issues that I kept having were mounting up, so I switched to full LDB.

To find out if its a problem with Broker CPU or Broker2Fubar, do this: download an LDB based display like Chocolate Bar or Docking Station, then make sure only that display addon and Broker CPU are the only addons running. If you can turn off the icon and it stays off even after a reload, then its a problem with Broker2Fubar and I'd drop a line to the Broker2Fubar guy.
Be sure to also use the "Report Bugs" button on the front page of this addon to report it as a bug. Be sure to tell the author that you use Broker2Fubar and whether or not your troubleshooting above worked.
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-29-2009, 07:16 AM  
jbashara
Zam editor
 
jbashara's Avatar

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

Quote:
Originally posted by xtoq
That's more than likely a display issue with your LDB dispaly addon. Which one do you use?
FuBar via Broker2FuBar. Although I think I remember testing it in ButtonBin, which I also use, with the same problem. I'll have to check.

The thing with Broker2FuBar is that it has an options menu that allows you to enable or disable broker icons and/or text. I don't have the problem with any other LDB addons. This is the only one that I can't permanently disable the icon for. The icon will stay hidden for the session, but on every client restart it's back up there.

Are there a couple lines of code in the .lua file that I can just delete to remove the icon? (Or break it, assuming it doesn't just show a blank placeholder like it does when I remove the icon graphic .tga from the folder?)
jbashara is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-28-2009, 02:23 PM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

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

Quote:
Originally posted by jbashara
Anyone have a problem where the LDB icon (the little computer icon) where it will keep re-appearing on every game restart, even if you've disabled it?

I try to optimize bar space, so I want the icon disabled. It will work initially--the icon will disappear like it should, and only show the text (FPS, Mem, Latency)...but every time I restart the game client, the icon is always back! Can't figure out why; this doesn't happen with any of my other LDB addons.

First I tried removing the actual .tga icon out of the addon directory, but that didn't work because there was still a black "placeholder" space where the icon would be, defeating the purpose of wanting a smaller view.

Then I tried looking in the .lua file to see if I could find a way to delete the code that refers to the icon, but I just couldn't find the right lines and kept messing it up, having to re-install it.

Any help?
That's more than likely a display issue with your LDB dispaly addon. Which one do you use?
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-28-2009, 02:23 PM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 25
File comments: 624
Uploads: 2
Re: Lag every ten seconds.

Quote:
Originally posted by Azareus
I really like this addon, but it has a "half a second" lag (screen lag, not latency) every 10 seconds, and I think that it's happening everytime it collects information to be displayed in the tooltip. Even if the tooltip is hidden. No mouseover.

Ok, I have a lot of addons, etc., but this is driving my crazy. Every WoW session, for me, it's a pain. A "pause" every 10 seconds for 3 hours are really not for me. :-P

Anyway, nice job here. Hope you'll find a fix for that.

Aza
Its actully the updating of the LDB text itself. not only that, but I want to tell it "only update the MB usage every x second, the fps every x seconds, and the latency every x seconds" because I'm more concerned with latency and framerate than addon usage. Ultimately, although I dislike having to have 3 plugins to do something that one could do, I have to go back to my fps/memory/lat plugin setup before. Can't handle that screen lag either.
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-22-2009, 09:39 PM  
jbashara
Zam editor
 
jbashara's Avatar

Forum posts: 10
File comments: 18
Uploads: 0
Red face IconR

Anyone have a problem where the LDB icon (the little computer icon) where it will keep re-appearing on every game restart, even if you've disabled it?

I try to optimize bar space, so I want the icon disabled. It will work initially--the icon will disappear like it should, and only show the text (FPS, Mem, Latency)...but every time I restart the game client, the icon is always back! Can't figure out why; this doesn't happen with any of my other LDB addons.

First I tried removing the actual .tga icon out of the addon directory, but that didn't work because there was still a black "placeholder" space where the icon would be, defeating the purpose of wanting a smaller view.

Then I tried looking in the .lua file to see if I could find a way to delete the code that refers to the icon, but I just couldn't find the right lines and kept messing it up, having to re-install it.

Any help?
jbashara is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




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


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