From 5854b1061a2ed562041e50a9160e177c41374f16 Mon Sep 17 00:00:00 2001 From: Casey Raethke Date: Sat, 21 Oct 2023 17:35:00 -0500 Subject: [PATCH] Add performance profiling slash command --- RatingBuster.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/RatingBuster.lua b/RatingBuster.lua index 926c3c2..58cffb7 100644 --- a/RatingBuster.lua +++ b/RatingBuster.lua @@ -176,6 +176,15 @@ local options = { LibStub("AceConfigCmd-3.0").HandleCommand(RatingBuster, "rb", addonNameWithVersion, "") end }, + pp = { + type = "execute", + name = "Performance Profile", + desc = "Execute a performance test and display the results", + func = function() + RatingBuster:PerformanceProfile() + end, + hidden = true, + }, enableStatMods = { type = 'toggle', name = L["Enable Stat Mods"],