Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

defintion translation speed test

View gist:4169427
1 2 3 4 5 6 7 8 9
$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.