StartPapyrusFormProfile

From the CreationKit Wiki
Revision as of 16:02, 22 February 2024 by Xieve (talk | contribs) (→‎Notes: Added note concerning a visualizer)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

See Also[edit | edit source]

Papyrus Version[edit | edit source]

StartObjectProfiling - Form