开发者

Execution time in kohana 3

开发者 https://www.devze.com 2023-01-12 01:52 出处:网络
开发者_开发技巧How to get execution time and etc. in simplest way in Kohana 3.Have a look at Profiling

开发者_开发技巧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:

  1. Common Kohana method calls
  2. Requests
  3. Database queries
  4. 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消