Difference between revisions of "StartPapyrusFormProfile"
Jump to navigation
Jump to search
imported>Scornett-Bot m (Script running global find and replace: Category:Console Commands for Category:Console Functions) |
(→Notes: Added note concerning a visualizer) |
||
Line 13: | Line 13: | ||
==Notes== | ==Notes== | ||
Profiling must be turned on or the command will fail. To turn profiling on, set "bEnableProfiling" in the "[Papyrus]" section of your ini file to 1. | Profiling must be turned on or the command will fail. To turn profiling on, set "bEnableProfiling" in the "[Papyrus]" section of your ini file to 1. | ||
The flamegraph visualizer [https://speedscope.app/ speedscope] supports all kinds of profiles that Skyrim produces, including those produced by this function. | |||
==See Also== | ==See Also== |
Latest revision as of 15:02, 22 February 2024
Starts profiling all Papyrus scripts on the specified form. Profiling information is logged to "<game>/Logs/Script/Profiling" folder.
Syntax[edit | edit source]
StartPapyrusFormProfile <form> StartPFP <form>
Parameters[edit | edit source]
- Form: The form to start profiling. All Papyrus scripts on that form are profiled.
Examples[edit | edit source]
StartPFP CWSiege
Notes[edit | edit source]
Profiling must be turned on or the command will fail. To turn profiling on, set "bEnableProfiling" in the "[Papyrus]" section of your ini file to 1.
The flamegraph visualizer speedscope supports all kinds of profiles that Skyrim produces, including those produced by this function.