Skip to content

Instantly share code, notes, and snippets.

@Dachande663 Dachande663/perf.php
Created May 12, 2013

Embed
What would you like to do?
PHP function invokation comparison. 10 x 1,000,000 sample.
<?php
Array
(
[test()] => 100%
[B::test()] => 198.96%
[$c->test()] => 202.56%
[call_user_func_array] => 670.19%
[$e->__cal()] => 717.38%
[$f->__callStatic] => 734.18%
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.