measure execution time of phph server on request code example
Example: php check how much time each instruction takes to complete
$start = microtime(true);
while (...) {
}
$time_elapsed_secs = microtime(true) - $start;
$start = microtime(true);
while (...) {
}
$time_elapsed_secs = microtime(true) - $start;