-
Notifications
You must be signed in to change notification settings - Fork 0
XHProf: A Hierarchical Profiler for PHP
License
lenn0x/xhprof
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
For installation and usage notes refer to: xhprof_html/docs/index.html To view the latest version of the doc, go to: http://pecl.php.net/package/xhprof ---> [View Documentation] Example with extended info enabled ----------------------------------- <?php function foobar() { echo "hello world"; } xhprof_enable(XHPROF_FLAGS_EXTENDED_INFO); foobar(); $output = xhprof_disable(); print_r($output); ?> Array ( [main()==>foobar] => Array ( [ct] => 1 [wt] => 9 [pln] => 3 [pfn] => /home/goffinet/test.php [calls] => Array ( [0] => Array ( [fn] => /home/goffinet/test.php [ln] => 7 [wt] => 9 ) ) ) [main()==>xhprof_disable] => Array ( [ct] => 1 [wt] => 0 ) [main()] => Array ( [ct] => 1 [wt] => 35 ) )
About
XHProf: A Hierarchical Profiler for PHP
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published