Profiling

Kohana provides a very simple way to display statistics about your application:

  1. Common Kohana method calls
  2. Requests
  3. Database queries
  4. Average execution times for your application

Example

You can display or collect the current profiler statistics at any time:

<div id="kohana-profiler">
<?php echo View::factory('profiler/stats') ?>
</div>

Preview

Application Execution (669) 0.029999 seconds 0.260000 seconds 0.056876 seconds 0.050000 seconds
2,225.7969 kb 2,299.2656 kb 2,255.5041 kb 2,275.0000 kb