<?php

$starttime=explode(' ',microtime());
// code is here
//
//
$endtime=explode(' ',microtime());
$starttime=$starttime[1]+$starttime[0];
$endtime=$endtime[1]+$endtime[0];
$parse_time=$endtime-$starttime;

?>
Try apache benchmarking tool to view what is the peak of executions per
second.
I don't use linux but think that the name of the executable is 'ab'

Andrey Hristov

http://www.icygen.com
99%

----- Original Message -----
From: "haheho" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 22, 2001 6:23 PM
Subject: [PHP-DB] how should i test my php program performance?


> 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