At 6/21/2002, you wrote:
PS What about execution time in ms (with breakpoints)?
PS And is there way to measure MySQL query speed in ms?
u can use microtime function
function getMicrotime()
{
list($usec, $sec) = explode( ,microtime());
return ((float)$usec +
Hi,
Is there any way to determine script's memory usage?
What about execution time in ms (with breakpoints)?
And is there way to measure MySQL query speed in ms?
Thanks
Pekka
http://photography-on-the.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Is there any way to determine script's memory usage?
Depends on your web server. There is a way in apache. Rasmus answered this
same question for me a couple weeks ago, look through the archives. I saw an
option in IIS to put memory usage into the logs, that may work, too.
What about
Hi!
Thursday, June 20, 2002, 10:56:40 PM, you wrote:
PS Is there any way to determine script's memory usage?
When you configure and compile you have some option
--with-memory-limit something like that and then add
\%{mod_php_memory_usage}n\
in you http.conf of Apache where you define how
4 matches
Mail list logo