Category: Developer
Since engine version: 1.0 OC
StartScriptProfiler
Description
Starts the script profiler.
Syntax
bool StartScriptProfiler(id definition_script);
Parameter
- definition_script:
- [opt] If specified, only script functions of the given object definition are measured.
Remark
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.
See also: StopScriptProfiler