# StartScriptProfiler

Developer
5.1 OC
bool
id definition_script If specified, only script functions of the given object definition are measured.
Starts the script profiler.
The script profiler can be used to measure how much processing time the scripting engine is using for executing certain script functions. This can be useful to find out which parts of a script are mainly slowing down execution in larger scenarios. The profiler measures the execution time between the commands StartScriptProfiler and StopScriptProfiler.
StopScriptProfiler
Sven2
2007-03