RE: [PHP] Script Execution Time

2003-07-29 Thread Ow Mun Heng
Message- From: Jeff Harris [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 9:17 AM To: Petya A Shushpanov Cc: Radek Zajkowski; PHP GENERAL Subject: Re: [PHP] Script Execution Time On Jul 29, 2003, Petya A Shushpanov claimed that: |? |class jTimer { |[snip] | |$timer-stop(); |echo

[PHP] Script Execution Time

2003-07-28 Thread Radek Zajkowski
Could someone pass on a snippet, a function or a technique for measuring script times. It appears the host I am with is having some PHP engine performance problems and I need to send them the figures. Thanks in advance R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Script Execution Time

2003-07-28 Thread Brad Pauly
Radek Zajkowski wrote: Could someone pass on a snippet, a function or a technique for measuring script times. It appears the host I am with is having some PHP engine performance problems and I need to send them the figures. Check out the user contributed notes on php.net for microtime().

Re: [PHP] Script Execution Time

2003-07-28 Thread Curt Zirzow
* Thus wrote Radek Zajkowski ([EMAIL PROTECTED]): Could someone pass on a snippet, a function or a technique for measuring script times. It appears the host I am with is having some PHP engine performance problems and I need to send them the figures. So I'm suppose to take my timeout and

Re: [PHP] Script Execution Time

2003-07-28 Thread Ryan A
Hi Radek, This has been posted before...around once every 2 weeks I guess :-)...check the archive or you will/may get flamed. Cheers, -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Script Execution Time

2003-07-28 Thread Petya A Shushpanov
- From: Radek Zajkowski [EMAIL PROTECTED] To: PHP GENERAL [EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 1:09 AM Subject: [PHP] Script Execution Time Could someone pass on a snippet, a function or a technique for measuring script times. It appears the host I am with is having some PHP

RE: [PHP] Script Execution Time

2003-07-28 Thread Chris W. Parker
Petya A Shushpanov mailto:[EMAIL PROTECTED] on Monday, July 28, 2003 3:41 PM said: ? class jTimer { [snip] } $timer = new jTimer; $timer-start(); #your code here $timer-stop(); echo round($timer-elapsed(),5); You could one up this class by creating another method that

Re: [PHP] Script Execution Time

2003-07-28 Thread Petya A Shushpanov
Tnx. I`ve it fixed jet. - Original Message - From: Chris W. Parker [EMAIL PROTECTED] To: Petya A Shushpanov [EMAIL PROTECTED]; Radek Zajkowski [EMAIL PROTECTED]; PHP GENERAL [EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 3:50 AM Subject: RE: [PHP] Script Execution Time Petya

Re: [PHP] Script Execution Time

2003-07-28 Thread Jeff Harris
On Jul 29, 2003, Petya A Shushpanov claimed that: |? |class jTimer { |[snip] | |$timer-stop(); |echo round($timer-elapsed(),5); |? | |-- |Petya A Shushpanov | Or, you could use http://pear.php.net/package-info.php?package=Benchmark -- Registered Linux user #304026. lynx -source

Re: [PHP] Script Execution Time

2001-07-19 Thread Jome
I have a php script that returns about 1.5Mb of data in text format to the user. I am wondering if there is a way for php to display the time it took to execute the script at the end of the file. Put this at the top of the script: code function getmicrotime(){ list($usec, $sec) =