premium banner

AnalyzeMemory

Abandoned
analyze memory utilization of a function

Description

Analyze Memory Version 0.3

The memory utilization and the execution time, and arguments of the LUA Global function can be watched. It's easy to find LUA Global objects (function, table, metatable etc.) by using UI (Search Global Objects).

How to watch

  1. Startup : Input command '/amem' or addon manager icon.
  2. Open Search Dialog (Search Global Objects) : Push [search] button.
  3. Search global objects : Input something and press TAB key. For example, input 'Unit' and push TAB key, you can see Unit*** functions.
  4. Add function for watch : It's two way.
    • Check function and push [AddAll] button. This way is for lateral watch. Be careful to add function over 100, or many called function like onEvent, onUpdate.
    • Select function (shift + left click) and push [Add] button or ENTER key. This way is the individual addition.
  5. Watch function : Watch data (Arguments, Time interval, etc.) is displayed when the function is called. This means you have to do some action (from UI or /run etc.) if your want to watch function.

Color of type, meaning of value

  • Argument in Analyze Memory UI, Table Data in GameTooltip
    • ValueTypeColorCode
      NNumberSky Blue99CCFF
      SStringLight PinkFFB6C1
      BBooleanGoldenrodDAA520
      TTableGreen00FF00
      FFunctionWhiteFFFFFF
      UUserdataOlive808000
      RThreadSiennaA0522D
      INilRedFF0000
      • Objects in Search Global Objects UI
        • ObjectColorCode
          FunctionWhiteFFFFFF
          TableGreen00FF00
          Meta FunctionYellowFFFF00
          Meta TableDark Green008800
          Table DataOrangeFF8000