r45

Details

  • Filename
    StatBlock_Memory-r45.zip
  • Uploaded by
  • Uploaded
    Nov 14, 2012
  • Size
    7.59 KB
  • Downloads
    74
  • MD5
    a4ffbac2c493b29dd0f51a7143634480

Supported WoW Retail Versions

  • 5.0.5

Changelog

------------------------------------------------------------------------
r45 | funkydude | 2012-11-15 00:52:48 +0000 (Thu, 15 Nov 2012) | 1 line
Changed paths:
   M /trunk/StatBlock_Memory.lua

Actually show how long it took to process all addons in the tooltip and add a warning to it explaining it will disable itself in combat if over 105 ms.
------------------------------------------------------------------------
r44 | funkydude | 2012-11-15 00:12:07 +0000 (Thu, 15 Nov 2012) | 1 line
Changed paths:
   M /trunk/StatBlock_Memory.lua
   M /trunk/StatBlock_Memory.toc

Some users run so many addon's that Blizz's "UpdateAddOnMemoryUsage()" takes too long and triggers a script too long error. We now detect the time it takes to process this function using debugprofilestop() and kill updating memory usage in combat for users that take over 105 ms to finish. For comparisons sake, it takes me 10-20 ms.
------------------------------------------------------------------------