Created
April 22, 2018 20:37
-
-
Save dajve/ec644147e0e2b811a2aeaa49ebac4331 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$in = 100; $out = 200; | |
$s = microtime(true); | |
for ($i=0; $i<1000000; $i++) { | |
echo $in.'<br>'.$out; | |
} | |
$e = microtime(true); | |
echo PHP_EOL.PHP_EOL.sprintf("CONCAT (1,000,000) : %s", number_format($e-$s, 6)).PHP_EOL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment