This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/includes/kohana/modules/userguide/guide/debugging.profiling.md
2011-05-03 09:49:01 +10:00

419 B

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

{{profiler/stats}}