Re: Php script diagnostic app?
| From: | William Lovaton | Date: | Mon, 25 Jun 2007 22:03:31 +0000 |
| Subject: | Re: Php script diagnostic app? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257764@lists.php.net to get a copy of this message | ||
If you have little knowledge about C you can use sysprof on a relatively
new Linux distribution and you can see on a live system where the CPU is
consumed the most.
[] http://www.daimi.au.dk/~sandmann/sysprof/
[] http://live.gnome.org/Sysprof
With a little help of Google you can map C functions to the PHP
equivalents and this way you can get a bit more of understanding about
what is going on in your code.
Finally, xdebug is real nice too.
-William
On Sun, 2007-06-17 at 13:35 -0400, MIKE YRABEDRA wrote:
>
> I was wondering if there was some kind of application that would process a
> php script, logging any functions (or classes) it encounters along the way.
> Logging times and memory use.
>
> I am trying to figure out what in a script slows it down so much.
>
> Any ideas?
>
>
> --
> Mike Yrabedra B^)>
>