Advertisement
vanchelo

Untitled

Nov 27th, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.16 KB | None | 0 0
  1. $t = microtime(true);
  2. $n = 10;
  3.  
  4. for ($i = 0; $i < $n; $i++)
  5. {
  6.     get_headers('http://rozetka.ua');
  7. }
  8.  
  9. echo round(((microtime(true) - $t) * 1000) / $n), 'ms';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement