Use the Code Profiler
-
Click Tools > Development tools > Code profiler to open the Code Profiler tool.
-
Navigate to the functionality that you want to test. For example, navigate to the appropriate place in the Navigation Pane.
To limit the results displayed, check the Trace depth enabled check box, and then type the number of levels that you want to be displayed in the results.
-
Click Start.
-
Use the functionality you want to test.
-
When testing is complete, click Stop. The system now saves all logged data to the database. This might take quite some time because a database record is created for each executed line of code.
-
Write a description of your code profile in the Summary dialog.
Do not select the Calculate line total check box. If you need to calculate line totals later, use the Profile runs form.
-
Click OK.
The Profiler runs form opens. This enables you to view data collected by the profiler.
Note |
|---|
|
You can also use the code profiler from a programmatic interface. |
Note