Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 Kohana 3 中以最简单的方式获取执行时间等。
看看剖析
Kohana 提供了一种非常简单的方法来显示有关您的应用程序的统计信息: 常用 Kohana 方法调用 要求 数据库查询 应用程序的平均执行时间
Kohana 提供了一种非常简单的方法来显示有关您的应用程序的统计信息:
最简单的方法是放在<?php echo View::factory('profiler/stats');?>您的视图中。我建议在您的模板文件中,就在</body>标签之前。
<?php echo View::factory('profiler/stats');?>
</body>