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,276
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 02-15-2009, 07:41 AM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 314
File comments: 104
Uploads: 7
ok thats is on ToDo list, will be in next revision with a few more useful options and few ommitted performance codes tweaks like sending few globals to locals

Last edited by Mera : 02-16-2009 at 09:51 PM.
Mera is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-13-2009, 11:43 AM  
Tristanian
Andúril
WoWInterface Super Moderator
Interface Author - Click to view interfaces

Forum posts: 280
File comments: 264
Uploads: 7
Quote:
Originally posted by Mera
let me know if that's a good idea or not, allowing viewing memory while CPU profiling is disabled, I don't really know if that option is worse to add since here I prefer having CPU stats and secondly memory rather than just showing at Memory while profiling disabled because memory usage doesn't really give an idea of the resource really used.

Feel free anyway to post anything you would like to have in the mod and then we'll see if that's worse adding as eitrax did.
Make showing memory usage while profiling is off optional and I'm willing to bet no one will complain
Tristanian is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-13-2009, 06:04 AM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 314
File comments: 104
Uploads: 7
let me know if that's a good idea or not, allowing viewing memory while CPU profiling is disabled, I don't really know if that option is worse to add since here I prefer having CPU stats and secondly memory rather than just showing at Memory while profiling disabled because memory usage doesn't really give an idea of the resource really used.

Feel free anyway to post anything you would like to have in the mod and then we'll see if that's worse adding as eitrax did.
Mera is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-13-2009, 04:09 AM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 314
File comments: 104
Uploads: 7
//Edit: Fixed in r8//

you didn't seen the tooltip shortcut while cpu profiling was disabled ? its Ctrl - Alt - LeftClick on the broker icon, I will do something for it to be more visible, thank you for the feedback

Last edited by Mera : 02-13-2009 at 05:41 AM.
Mera is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-12-2009, 10:12 PM  
eitrax
A Kobold Labourer

Forum posts: 1
File comments: 4
Uploads: 0
Turn off CPU profiling when you don't need it. Okay. How? The addon won't allow me to set anything, and I read that CPU profiling persists over sessions etc so I assume uninstalling the addon doesn't do much there.

edit: /console SET scriptProfile "0"

Last edited by eitrax : 02-12-2009 at 10:15 PM.
eitrax is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-11-2009, 03:31 PM  
Ackis
Dry code hero
 
Ackis's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 66
File comments: 92
Uploads: 7
Heya, contact me on IRC please.
__________________
Author of many many mods
Click Me
Ackis is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-09-2009, 01:11 AM  
Darkmoone
A Kobold Labourer

Forum posts: 0
File comments: 38
Uploads: 1
Ohhh i likey
Darkmoone 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.