WowAddons

World of Warcraft Forever API · PerformanceScript.md, for your AI

PerformanceScript (global functions)

9 functions, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

GetAddOnCPUUsage

result = GetAddOnCPUUsage(name)

Arguments

nameuiAddon

Returns

resultnumber

GetAddOnMemoryUsage

result = GetAddOnMemoryUsage(name)

Arguments

nameuiAddon

Returns

resultnumber

GetEventCPUUsage

call_time, call_count = GetEventCPUUsage()

Returns

call_timenumber
call_countnumber

GetFrameCPUUsage

call_time, call_count = GetFrameCPUUsage(frame, [includeChildren])

Arguments

frameSimpleFrame
includeChildrenbool default false

Returns

call_timenumber
call_countnumber

GetFunctionCPUUsage

call_time, call_count = GetFunctionCPUUsage()

Returns

call_timenumber
call_countnumber

GetScriptCPUUsage

result = GetScriptCPUUsage()

Returns

resultnumber

ResetCPUUsage

ResetCPUUsage()

UpdateAddOnCPUUsage

UpdateAddOnCPUUsage()

UpdateAddOnMemoryUsage

UpdateAddOnMemoryUsage()

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows