Run and clear diagnostic profiles
You use the Diagnostics module for profiling of various time-intensive operations such as HTTP requests, background tasks, database queries, and page compilations. Then, you can view a report with the results of the profiling.
EXAMPLE: You want to check how a certain action is executed, for example - opening a news item and leaving a comment.
To get a report, you first start related profilers (database, HTTP requests), execute the action, stop profiling, and view the report.
The actions available in the Diagnostics module's Profilers page are:
- Start profiling
Click Start for the selected profilers.
- Stop profiling
Click Stop for each profiler you want to stop.
- Clear diagnostics data
Click Clear data on a selected profiler, or click Clear all data to delete all tracing information generated to the database for the one or all profilers.
IMPORTANT: Database profiling can generate a lot of tracing data in a short period of time. When you are not actively collecting diagnostic data, be sure to stop the database profilers.