Kohana provides a very simple way to display statistics about your application:
Example
You can display or collect the current profiler statistics at any time:
<div id="kohana-profiler">
<?phpechoView::factory('profiler/stats') ?>
</div>
Preview
| Requests | 0.127820 S | |||
|---|---|---|---|---|
| 1,484.8359 KB | ||||
| benchmark | min | max | average | total |
| "guide/debugging.profiling" (1) | 0.128040 S | 0.128040 S | 0.128040 S | 0.128040 S |
1,495.7734 KB | 1,495.7734 KB | 1,495.7734 KB | 1,495.7734 KB | |
| Kohana | 0.053705 S | |||
|---|---|---|---|---|
| 3.5703 KB | ||||
| benchmark | min | max | average | total |
| find_file (4) | 0.004047 S | 0.039900 S | 0.013426 S | 0.053705 S |
0.7969 KB | 0.9609 KB | 0.8926 KB | 3.5703 KB | |
| Application Execution (472) | 0.041169 S | 0.481089 S | 0.096263 S | 0.174879 S |
|---|---|---|---|---|
| 2,611.2891 KB | 2,736.0156 KB | 2,699.7453 KB | 2,715.9375 KB |
0 comments:
Post a Comment