Get an Epic Experience with Premium

shPerformance (fps/latency/memory)

Data Broker Login to Add Favorites
  • 2 Likes
  • World of Warcraft
  • 279 Monthly Downloads
  • Supports: 4.0.1
  • 24,448 Total Downloads
  • Updated 11/15/2010
  • Created 11/15/2010
  • 61 Favorites
  • Project Site
  • Comments
  • Release Type: Inactive
  • License: All Rights Reserved
  • Newest File: r1
or

About shPerformance (fps/latency/memory)

Why use this addon instead of some of the other famous system monitors? Simple: elegance, ease of use, and efficiency. Other addons similar to shPerformance are extremely "busy" and highly inefficient when it comes to coding.

IMPORTANT: You must have a data broker display addon in order to enable this addon. I recommend Docking Station or you can find a list of other LDB display addons here. Changing the fonts of the tooltips is handled via a tooltip addon. I highly recommend using TipTac.

This addon displays and has the following options:

  • Frames per second (fps)
  • Latency (ms)
  • Addon memory usage (mb or kb)
  • Option that allows sorting in two different ways: alphabetically or by descending memory usage
  • Option to change update period (seconds) and/or memory threshold (kb)
  • Option to change color gradient variable (for higher usage systems) and number of max addons displayed

I was completely baffled when I saw some coding of other author's data broker addons that displayed this information. My goals in creating this addon are:

  • Make the code as efficient as possible and to maintain < 40kb of memory usage
  • Be visually appealing and easy to read
  • Be updated in real time via the tooltip AND data broker text
  • Display relevant data that is important (NO FLUFF or Techno Babble)
  • Allow user to decide on sorting methods, memory threshold, and updating time

For more technical information, details, and how to change settings please see LUA file within addon folder labeled shPerformance.lua

Disclaimer: I want to thank Tekkub for his fantastic addon picoFPS for inspiration and some code ideas, kudos!

Bug Reports and/or Requests:
All bug reports, requests (with this addon or another), errors, suggestions, and problems will be handled via the forum-comments page.

r1
- uploaded from my main page on wowinterface

Comments

  • #11
    Quote from Radicalb21 »

    Latency for home and world showing as 0 ms | 0 ms and not updating. An update would be nice.

    The addon is update, but not on curse since a lot of time.

    The author now use 2 different mods "shPerformance" and "shMem". So put in ignore this mode on curse client and download the 2 mods from the other website that host wow addon.

    Now "shPerformance" show latency and fps and "shMem" show addons memory usage

  • #10

    Latency for home and world showing as 0 ms | 0 ms and not updating. An update would be nice.

  • #8
    no screenshot?
  • #5
    So with the new latency information, displaying local and world, any chance of updating this to also show both?
  • #6
    It would be very nice, indeed.
  • #7
    in shPerformance.lua
    find:
    local latency = select(3,GetNetStats())
    local r, g, b = ColorGradient(latency/1000, 0,1,0, 1,1,0, 1,0,0)
    datalatency.text = format("|cff%02x%02x%02x%.0f|r |cffE8D200ms|r", r*255, g*255, b*255, latency)

    replace with:
    local _, _, latencyHome, latencyWorld = GetNetStats()
    local r_home, g_home, b_home = ColorGradient(latencyHome/1000, 0,1,0, 1,1,0, 1,0,0)
    local r_world, g_world, b_world = ColorGradient(latencyWorld/1000, 0,1,0, 1,1,0, 1,0,0)
    datalatency.text = format("|cff%02x%02x%02x%.0f|r |cffE8D200ms|r", r_home*255, g_home*255, b_home*255, latencyHome) .. " | " .. format("|cff%02x%02x%02x%.0f|r |cffE8D200ms|r", r_world*255, g_world*255, b_world*255, latencyWorld)

    find:
    local binz, boutz, _ = GetNetStats()

    replace with:
    local binz, boutz, latencyHome, latencyWorld = GetNetStats()

    and insert:
    local r_home, g_home, b_home = ColorGradient(latencyHome/1000, 0,1,0, 1,1,0, 1,0,0)
    local r_world, g_world, b_world = ColorGradient(latencyWorld/1000, 0,1,0, 1,1,0, 1,0,0)
    GameTooltip:AddDoubleLine("|cff06ddfaLatency|r |cff0deb11(Home)|r usage:", format("%d ms", latencyHome), nil, nil, nil, r_home, g_home, b_home)
    GameTooltip:AddDoubleLine("|cff06ddfaLatency|r |cff0deb11(World)|r usage:", format("%d ms", latencyWorld), nil, nil, nil, r_world, g_world, b_world)

    after:
    GameTooltip:AddDoubleLine("|cff06ddfaOutgoing bandwidth|r |cff0deb11(upload)|r usage:", format("%.2f kb/sec", boutz), nil, nil, nil, rout, gout, bout)
  • #9
    Thanks for this, works wonderful :)
  • #4
    great addon!
  • #3
    Just installed it to check it out, looks great. I use Bazooka as data broker addon.
  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Leaguepedia PAX Skin Giveaway