Hi,

You can get the time(); or microtime(); (in linux) in the beginning and in 
the endo of the code..
example:
<?
$t1 = time();
code... 
$t2 =  time();

echo "Total time is".($t2 - $t1)."seconds.";
?>

[]s
Ferreras

> Dear all:
> 
> I have wrote a php program and use mysql database.
> Is there a way to test its performance?
> Thanks.
> 
> haheho
> 
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to