Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: How do i determine speed of execution of a script


Message #1 by "Amit " <amit_a_deshpande@r...> on 8 Aug 2001 05:05:01 -0000
I'm not quite sure if there is any performance difference, but what you can
do is at the beginning of the script call te time function and save the
timestamp returned.  At the end of the script call time again and then
subtract the values to see the difference.

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Amit " <amit_a_deshpande@r...>
To: "professional php" <pro_php@p...>
Sent: Wednesday, August 08, 2001 1:05 AM
Subject: [pro_php] How do i determine speed of execution of a script


> Hi everybody......
> I have to write a mailing function which sends mails to addresses fetched
> from database.The content of the mail is generated on the fly and i also
> want to personalize links embeded in the mail.
>
> Will it make significant difference if i transfer control from a php file
> to a perl file to actually fetch data from database, compile the content
> and send the mails as against PHP file ?
>
> If yes , how do i actually determine speed of execution ?
>
> Thanks in advance
>
> Amit Deshpande
>
>


  Return to Index