Created
February 24, 2021 21:49
-
-
Save dstogov/596ea9f27d42a1918140d1cf59bb6d1e 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-8 | +JIT | kPHP | | |
----------------+-------+-------+-------+ | |
simplу | 0.007 | 0.002 | 0.000 | | |
simplecall | 0.003 | 0.001 | 0.000 | | |
simpleucall | 0.003 | 0.001 | 0.000 | | |
simpleudcall | 0.003 | 0.001 | 0.000 | | |
mandel | 0.027 | 0.008 | 0.010 | | |
mandel2 | 0.041 | 0.009 | 0.011 | | |
ackermann(7) | 0.017 | 0.011 | 0.002 | | |
ary(50000) | 0.005 | 0.004 | 0.005 | | |
ary2(50000) | 0.004 | 0.004 | 0.003 | | |
ary3(2000) | 0.037 | 0.011 | 0.017 | | |
fibo(30) | 0.061 | 0.022 | 0.005 | | |
hash1(50000) | 0.008 | 0.007 | 0.021 | | |
hash2(500) | 0.009 | 0.005 | 0.013 | | |
heapsort(20000) | 0.018 | 0.010 | 0.009 | | |
matrix(20) | 0.019 | 0.007 | 0.012 | | |
nestedloop(12) | 0.020 | 0.004 | 0.000 | | |
sieve(30) | 0.010 | 0.004 | 0.018 | | |
strcat(200000) | 0.005 | 0.003 | 0.007 | | |
----------------+-------+-------+-------+ | |
Total | 0.298 | 0.114 | 0.132 | | |
+JIT - PHP-8 with tracing JIT enabled, single request (that means JIT compilation is done at run-time, it makes about 10% overhead) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment