Profiling Your Application
The Profiler Class 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 Class
Important: This class does NOT need to be initialized. It is loaded automatically by the Output Class if profiling is enabled as shown below.
Enabling the Profiler
To enable the profiler place the the following function anywhere within your Controller functions:
$this->output->enable_profiler(TRUE);
When enabled a report will be generated and inserted at the bottom of your pages.
To disable the profiler you will use:
$this->output->enable_profiler(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 in Benchmark Class page.