How to enable profiler in codeigniter application and how to set multiple benchmark

Below tutorial shows on how to profiling Codeigniter application. Codeigniter’s Profiler class gives the benchmark results, queries you have run and POST data and total time to execute the method etc..By using this information may used for debugging and optimization of your codeigniter application.

Enabling Profiler
Add below lines in specific controller:

To disable the profiler you need to use:

To set multiple benchmark
_start and _end will be a default suffix and you can name whatever you prefer.
For example i am using b1 as bechmark name.

By this way you can set multiple benchmark to profile the application and find out exact result.

Tags: How to enable profiler in codeigniter application and how to set multiple benchmark,How to Enable Site-Wide Profiling in CodeIgniter,Codeigniter enabling profiler with output cache,Profiling Codeigniter Application,CodeIgniter – Application Profiling,enabling the profiler in codeigniter

Add a Comment

Your email address will not be published. Required fields are marked *