CVar scriptProfile

__NOTOC__
Enables CPU profiling for lua scripts. 
 
==Default Setting==
;0
==Possible Settings==
;0 :Off
;1 :On
==Changing this setting==
This CVar requires a UI reload.
In-game, type the following
 /console scriptProfile setting
 /reload
Alternatively, you can exit wow, open the Config-cache.wtf file, and add the following line:
 SET scriptProfile setting
scriptProfile