views:

130

answers:

2

Hello, How to get execution time and etc. in simplest way in Kohana 3.

+3  A: 

Have a look at 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
Sarfraz
A: 

The simplest way possible would be to put <?php echo View::factory('profiler/stats');?> in your view. I suggest in your template file, right before </body> tag.

egis