Skip to content

Instantly share code, notes, and snippets.

@banyan
Created January 29, 2013 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save banyan/4663479 to your computer and use it in GitHub Desktop.
Save banyan/4663479 to your computer and use it in GitHub Desktop.
be
$r = 10 * 1000 * 1000;
$start = microtime(true);
while($r-- > 0) {
new StdClass();
}
$finish = microtime(true);
echo "time taken: " . ($finish - $start) . "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment