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:
12,277
Favorites:
357
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 03-07-2009, 11:26 PM  
Zasurus
A Defias Bandit

Forum posts: 3
File comments: 7
Uploads: 0
Thanks for updating the description for us new ppl!

Hopefully that will stop anyone else from getting confused and wasting you time!

Zas
Zasurus is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-07-2009, 02:07 PM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 314
File comments: 104
Uploads: 7
already replied about why column headers could be a good idea ^^ since its useless to me and add more work to qtip

Last edited by Mera : 03-07-2009 at 02:07 PM.
Mera is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-07-2009, 02:02 PM  
Zasurus
A Defias Bandit

Forum posts: 3
File comments: 7
Uploads: 0
Right... I did see that but it read to me like an optional like the others. I expected it to be command line then the viewers to be optional. :-) Maybe thats me or maybe i'm not alone in thinking that. ;-)

It works now though so thanks. Oh what about the column headers?

Zas

Quote:
Originally posted by Mera
LOL Zasurus I bet you are new with LDB plugins and mods globally, its a plugin and need a LDB display to work fine, there is different LDB Display, if you have seen the minimap icon that was probably LibDBIcon, there is also few others I personaly use ButtonBin because you can make it Fubar like or simple block of buttons etc, but basically you will need a LDB display to have the mod icon + text and when you will mouseover this icon you will have datas in the tooltips.
Read carefully first intsructions I wrote I have put all link to a wiki page updated to have almost all LDB displays, else no need of column headers, "s" or "ms" are seconds or milliseconds so that could be only cpu access times, "MB" or "KB" are Memory usages, "%" is the difference between the old cpu/mem and the new cpu/mem / 10 so you can compare how the growth is of x mods near y mod, if y mod has an abnormal growth, etc like a speedmeter but for memory and cpus.
Zasurus is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-07-2009, 01:07 PM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 314
File comments: 104
Uploads: 7
Quote:
Originally posted by Zasurus
OK am I going mad?! How to you use this addon? LOL
I tried /cpu and it prints the options and non of them bring up the window. I have only got this addon running and nothing else on my UI and it hasn't put up any buttons etc... I have tried installing all the recomemded libs and still nothing... :-|

HELP PLEASE! LOL

Zas

Edit: Sorry I have now got the minimap icon up and if I detach it then go over the minimap icon it apears... I guess there should be another icon normally somewhere?

Oh and are there column headers I can get up? Or what column is what? :-)
LOL Zasurus I bet you are new with LDB plugins and mods globally, its a plugin and need a LDB display to work fine, there is different LDB Display, if you have seen the minimap icon that was probably LibDBIcon, there is also few others I personaly use ButtonBin because you can make it Fubar like or simple block of buttons etc, but basically you will need a LDB display to have the mod icon + text and when you will mouseover this icon you will have datas in the tooltips.
Read carefully first intsructions I wrote I have put all link to a wiki page updated to have almost all LDB displays, else no need of column headers, "s" or "ms" are seconds or milliseconds so that could be only cpu access times, "MB" or "KB" are Memory usages, "%" is the difference between the old cpu/mem and the new cpu/mem / 10 so you can compare how the growth is of x mods near y mod, if y mod has an abnormal growth, etc like a speedmeter but for memory and cpus.

Last edited by Mera : 03-07-2009 at 01:17 PM.
Mera is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-07-2009, 12:48 PM  
Bumtank
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Quote:
Originally posted by vandyn
I got this the other day and I really like it, great job. One question I have though is there a way to monitor memory usage but not have that number show in the bar (fubar, etc)? I'm trying to get it to be like PerformanceFu where the addon only shows FPS and latency in the display bar, but the tooltip shows memory usage (and fps and latency).
This is something I would like to do as well...
Bumtank is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-07-2009, 12:44 PM  
Zasurus
A Defias Bandit

Forum posts: 3
File comments: 7
Uploads: 0
OK am I going mad?! How to you use this addon? LOL
I tried /cpu and it prints the options and non of them bring up the window. I have only got this addon running and nothing else on my UI and it hasn't put up any buttons etc... I have tried installing all the recomemded libs and still nothing... :-|

HELP PLEASE! LOL

Zas

Edit: Sorry I have now got the minimap icon up and if I detach it then go over the minimap icon it apears... I guess there should be another icon normally somewhere?

Oh and are there column headers I can get up? Or what column is what? :-)

Last edited by Zasurus : 03-07-2009 at 12:49 PM.
Zasurus is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-06-2009, 04:33 PM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 314
File comments: 104
Uploads: 7
in a next revision probably yes
Mera is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-06-2009, 11:38 AM  
vandyn
A Kobold Labourer
 
vandyn's Avatar

Forum posts: 0
File comments: 11
Uploads: 1
I got this the other day and I really like it, great job. One question I have though is there a way to monitor memory usage but not have that number show in the bar (fubar, etc)? I'm trying to get it to be like PerformanceFu where the addon only shows FPS and latency in the display bar, but the tooltip shows memory usage (and fps and latency).
vandyn is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-06-2009, 02:53 AM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 314
File comments: 104
Uploads: 7
I see what you mean but for now I haven't planned this but this could be
an interesting idea to know how performs your comp near your friends
comp/mods, its a good idea but I have to think of a possible implementation
because that is much than simply adding a small & simple option. I could
also think of an LibGraph implementation so to help visualizing usages
upon the time.

Anyway thank you for your suggestion, that's always good to receive
creative feedbacks like that.
Mera is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-05-2009, 09:35 PM  
HereNow
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Is there anyplace I can get some information on addon usage of resources? Like a comparative listing of how addons perform in a raid setting. Specifically cpu, memory, and bandwidth. (addon channel)

Like I know I can do my own testing in a raid with this addon, and definitely will, but I wanted to read up more on what others have found to help me see how much resources the addons I have use, and how others compare.

Thanks.
HereNow is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-27-2009, 05:47 AM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 314
File comments: 104
Uploads: 7
sure, I was waiting for someone to tell it I'm lazy adding options I don't need
I will also add an option to force the collect of the garbage memory and also
update the collection function so the mod will generate less garbage and so
on will use less memory while intensively collecting on showing tooltips.

Last edited by Mera : 03-02-2009 at 07:30 AM.
Mera is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-27-2009, 03:33 AM  
Gregory
A Kobold Labourer

Forum posts: 0
File comments: 36
Uploads: 0
Can you add coloring for LDB fps, memory and latency text please ?
Gregory is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-23-2009, 03:42 PM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 314
File comments: 104
Uploads: 7
next revision > 9 will tell less work to QTip, actually it tells QTip to
recreate each lines to each update waves, I should rather create
the lines only once and just care at updating the cells to each update,
testing here, it seems QTip uses around 2x less cpus after applying this
tweak because the job it does when using QTip:Clear() is quite big when
called several times and very quickly, thats even bigger by listing more mods,
next revisions will focus on lighten QTip jobs I promise to have it near as
light as using GameTooltip (technicaly not really possible anyway it will
always use more cpus to use QTip than using GameTooltip because it has
to calculate cells sizes)

//edit; btw an idea popped up in same time writing i should note it to
not forget, I should add a few options to enable/disable the lib detection
so you can use GameTooltip for example even if LibQTip is detected so you
are not forced to disable the whole LibQTip if do you prefer the simple
gameTooltip method into the mod.

//edit: I will change the scale system too has it could change all
GameTooltip scales yet , I really hate that crap GameTooltip system ,
sooo boring -_-, I think I will remove it from changing GT so the ldb
displays only handles it and I just change QTip scales. thats easier

Last edited by Mera : 03-02-2009 at 07:31 AM.
Mera is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-18-2009, 06:32 PM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 314
File comments: 104
Uploads: 7
no probs you 'll appreciate I think next revision that adds some handy features, btw don't worry seeing mods using cpus they need all to but you should much care on the mods that have the highest requests times in cpu and finding a smallest alternative, for example take Pitbull4 and you will notice while AFK in a city it can have a 30% diff , in less than 60sec this mod told your CPU to work for 20sec, this is giant, and alternative would be to throw that crap mod and go for a mod that doesn't waste resource that much like StellarUF (Stuf)

Another funny Benchmark I did here is comparing Broker_CPU to PerformanceFu, the difference is giant aswell because while fully working, Broker_CPU can't reach PerformanceFu resource usage while this last is not told to work. In short by running PerformanceFu you are wasting lots of resources because it does useless job in the background, so far much than what is required to update a simple text in a fubar/ldb plugin ....

Thanks for your kind feedback
Mera is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-18-2009, 06:15 PM  
Crazytoo
A Kobold Labourer

Forum posts: 1
File comments: 28
Uploads: 0
Nice mod and very easy to use plus a great layout.

I just find it very weird that only 6 out of 67 mods that are shown on the list, have any cpu usage.

Thank you for all your time and help
Crazytoo 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 - 2009, Jelsoft Enterprises Ltd.