Re: [PHP] Speed tests? RAM usage displays?

2002-06-21 Thread Pekka Saarinen
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 +

[PHP] Speed tests? RAM usage displays?

2002-06-20 Thread Pekka Saarinen
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:

Re: [PHP] Speed tests? RAM usage displays?

2002-06-20 Thread 1LT John W. Holmes
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

Re: [PHP] Speed tests? RAM usage displays?

2002-06-20 Thread Uros Gruber
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