Skip to content

Instantly share code, notes, and snippets.

@taishikato
Created June 29, 2015 00:43
Show Gist options
  • Select an option

  • Save taishikato/43eac7a08f6aac824a9f to your computer and use it in GitHub Desktop.

Select an option

Save taishikato/43eac7a08f6aac824a9f to your computer and use it in GitHub Desktop.
<?php
//処理速度計測開始▼
$time_start = microtime(true);
#ここに計測したい処理を書く
//処理速度計測終了▲
$timelimit = number_format(microtime(true) - $time_start, 7);
echo '処理時間: ' .$timelimit . '秒'."\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment