ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Search/Requests (https://www.esoui.com/forums/forumdisplay.php?f=165)
-   -   Monitor addons' performance? (https://www.esoui.com/forums/showthread.php?t=7841)

Trollwut 06/05/18 07:20 AM

Monitor addons' performance?
 
Hi folks!

I'm looking for an addon, that can track per-addon it's performance and CPU usage. Like an "addon task manager".

I looked into the API (http://wiki.esoui.com/API) and couldn't even find such functions for it. If it *is* possible though, if someone can lead me into the right direction, I might develop it myself :) But as I can't even find functions for monitoring, I'm a bit hopeless :D

sirinsidiator 06/05/18 08:32 AM

There are currently no APIs that would allow to do this. The best that can be done right now is adding start/stop calls for some timer to every single function in an addon, which would itself have a huge impact on the game performance.

SDPhantom 06/05/18 02:49 PM

You can query memory usage from the garbage collector.
Code:

local MemKB=collectgarbage("count")
I don't think there are profiling features otherwise.


All times are GMT -6. The time now is 05:48 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI