Tracking php high cpu usage Tracking php high cpu usage codeigniter codeigniter

Tracking php high cpu usage


You could use some like xhprof to profile your php scripts. Profiling with xhprof


Use the built-in profiler

http://codeigniter.com/user_guide/general/profiling.html

$this->output->enable_profiler(TRUE);

edit:

sorry, just saw someone mentioned this in the comments... Leaving for posterity.