Hi all,
We are debugging some web applications to try to determine where the
problems with long execution time is.
Is it possible to log the execution time of each script executed to a
logfile? The PHP processes are run as FastCGI under Zeus.
Regards
--
Lasse Laursen VP, Hosting Technology
I use this function:
function echo_pt($add='') {
static $pt = 0;
if($pt==0) {
$pt = miro_time();
return;
}
$time_start = explode(' ', $pt);
$time_end = explode(' ', microtime());
$parse_time = number_format(($time_end[1] + $time_end[0] -
($time_start[1] +
On Jul 14, 2003, Marek Kilimajer claimed that:
|I use this function:
|function echo_pt($add='') {
| static $pt = 0;
| if($pt==0) {
| $pt = miro_time();
| return;
| }
| $time_start = explode(' ', $pt);
| $time_end = explode(' ', microtime());
| $parse_time =
3 matches
Mail list logo