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

20 lines
419 B
Markdown
Raw Normal View History

2010-08-21 04:43:03 +00:00
# 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}}