profiler extension for php
| From: | Moritz Möller | Date: | Tue, 23 May 2006 21:59:31 +0000 |
| Subject: | profiler extension for php | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-3802@lists.php.net to get a copy of this message | ||
Hi,
I developed a profiling extension for PHP, and the internals@lists.php.net
folks redirected me to this list ;)
The extension:
- works with zend optimizer and similar
- counts the number of function calls and the total send self time
for each function
- usable either by calling profile_start(); at the beginning and
print_r(profile_stop()) at the end of the script or
- by setting up a dump-profile parameter in your php.ini (like
profile.quickdump_urlkey=prof) and appending the parameter prof to the url
(script.php?prof=1). If done, a html table with all function calls sorted by
self time is appended to the page.
More information and source at http://mo.e-sport.com/php_profiler.html
Thanks for reading ;)
Moritz