PHP

PHPの処理速度を計測

More than 3 years have passed since last update.
<?php
$time_start = microtime(true);

// 計測したい処理

$time = microtime(true) - $time_start;
echo "{$time} 秒";