I'm using
echo date('H:i:s')." this step time\n";
in order to know how much time needs for each function in order to be executed.
Nasıl da mikrosaniye zaman biliyorsunuz?
Sadece eklemek için, bu gibi kullanılabilir PHP'nin microtime() fonksiyonu var:
$time_start = microtime(true);
//do stuff here
$time_end = microtime(true);
$time = $time_end - $time_start;
echo "It took $time seconds\n";
u Microseconds (added in PHP 5.2.2)
Daha fazla bilgi için http://no.php.net/manual/en/function.date.php bir göz atın.