Command "Profile"

Summary

Creates a new performance measuring point. The command belongs to the group "Performance".


Parameters

Parameter Name Description Type
Name The name of the profile valueexpression

Valid parameter combinations



Description

Profile measures the time used to execute a sequence of commands. Profile records the time used between the previous and the current Profile command and the number of times run over the statement.

Examples


Example 1

The example below measures the times used to execute CodeBlock1 and CodeBlock2. "start" starts the recording, "point1" measures CodeBlock1 and "point2" measures CodeBlock2. ProfileReport generates a report and writes it to "report.txt"
<Profile Name="start"/>
<CodeBlock1.../>
<Profile Name="point1"/>
<CodeBlock2.../>
<Profile Name="point2"/>
<ProfileReport FileName="report.txt"/>