StartPapyrusFormProfile

Starts profiling all Papyrus scripts on the specified form. Profiling information is logged to "<game>/Logs/Script/Profiling" folder.

SyntaxEdit

StartPapyrusFormProfile <form>
StartPFP <form>

ParametersEdit

  • Form: The form to start profiling. All Papyrus scripts on that form are profiled.

ExamplesEdit

StartPFP CWSiege

NotesEdit

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.

See AlsoEdit

Papyrus VersionEdit

StartObjectProfiling - Form