Laman

Selasa, 13 Desember 2011

Count the execution time of PHP Script

Description :
To count the execution time of your php


Function :
$awal = microtime(true);

// proses
// proses
// proses

$akhir = microtime(true);
$lama = $akhir - $awal;
echo "Lama eksekusi script adalah: ".$lama." microsecond";

Tidak ada komentar:

Posting Komentar