Re: Profiling with register_tick_function / declare

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



McNaught, Scott schreef:
Hi there,

Is it possible to make the declare(ticks=1) statement apply to *all*
functions executed in a php script, regardless of scope?


is the declare() pragma not a file scope wotsit? i.e. you'd have to
do declare(ticks=1); at the top of each file.

...


.         Get profile results for novices without having to mess around
installing php binaries such as APD / zend debugger etc

I suppose that includes xdebug?


.         Profile on demand on production servers without having to install
a resource intensive debugging module

does profiling need to be done in production at all? slow code is slow however you
look at it no? so profiling something in a dev environment should show just as
much info as anywhere else?


Any help greatly appreciated.

Thanks,

Scott McNaught



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux