Profiling Your Application

The Profiler Library will display benchmark results, queries you have run, and $_POST data at the bottom of your pages. This information can be useful during development in order to help with debugging and optimization.

Initializing the Library

Important:  This library does NOT need to be initialized. It is loaded automatically by the Output Library if profiling is enabled as shown below.

Enabling the Profiler

To enable the profiler place the following command anywhere within your Controller handlers:

rigEnableProfiler TRUE

When enabled a report will be generated and inserted at the bottom of your pages.

To disable the profiler you will use:

rigEnableProfiler FALSE

Setting Benchmark Points

In order for the Profiler to compile and display your benchmark data you must name your mark points using specific syntax.

Please read the information on setting benchmark points on the Benchmark Library page.