开发者_开发技巧How to get execution time and etc. in simplest way in Kohana 3.
Have a look at Profiling
Kohana provides a very simple way to display statistics about your application:
- Common Kohana method calls
- Requests
- Database queries
- Average execution times for your application
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.
精彩评论