The built-in profiler analyzes the runtime behavior of HDevelop programs. It counts operator and procedure calls, and measures the processing times of operator calls (referred to as operator time in the following). The operator time plus the additional overhead of each operator call inside HDevelop is measured as well (referred to as execution time in the following). The operator time is the appropriate measure if you plan to export your HDevelop program to a programming language. On the other hand, the execution time is the appropriate measure if you run the program inside HDevelop or HDevEngine.
The profiling data may be used to evaluate the overall program execution, to optimize its performance, and to find bottlenecks.
Keep the following in mind when profiling your code:
To activate the profiler, click Execute ▹ Activate Profiler.
Once the profiler is activated, each program execution collects profiling data.
The profiler data can be reset by clicking Execute ▹ Reset Profiler,
To deactivate the profiler, click Execute ▹ Deactivate Profiler.
The profiling results are displayed in the program window. In addition, a summarized view of the runtime statistics is also available.