Skip to content

@fago /gist:4169427
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
defintion translation speed test
$iterations = 10000;
timer_start('test');
for ($i = 0; $i < $iterations; $i++) {
$d = serialize($definitions);
$e = unserialize($d);
}
timer_stop('test');
echo timer_read('test')."ms for $iterations runs. \n";
echo (timer_read('test') / $iterations) ."ms per run";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.