3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php /** * Various methods of computing Fibonacci numbers in PHP */ class Fibonacci { /** * @var array Memoization cache * @see Fibonacci::memoized */ protected $cache = array(0 => 0, 1 => 1); /** * Fibonacci using recursion */ public function recursive($n) { if ($n == 0) { return 0; } if ($n == 1) { return 1; } return $this->recursive($n - 1) + $this->recursive($n - 2); } /** * Fibonacci using an iterative approach */ public function iterative($n) { $a = 0; $b = 1; for ($i = 0; $i < $n; $i++) { $c = $a; $a = $b; $b += $c; } return $a; } /** * Fibonacci using Binet's formula * @link http://mathworld.wolfram.com/BinetsFibonacciNumberFormula.html */ public function binet($n) { $phi = (1 + sqrt(5)) / 2; return (pow($phi, $n) - pow(1 - $phi, $n)) / sqrt(5); } /** * Fibonacci using a cache */ public function memoized($n) { if (!isset($this->cache[$n])) { $this->cache[$n] = $this->memoized($n - 1) + $this->memoized($n - 2); } return $this->cache[$n]; } } /** * Test each Fibonacci method and output the speed */ function test($total, $callback) { echo $callback[1] . ":\n"; $t = microtime(true); for ($x = 0; $x < $total; $x++) { call_user_func($callback, $x); } $finish = microtime(true) - $t; echo ($finish * 1000) . ' ms (' . (($finish / $total) * 1000) . ")\n\n"; } // You can pass in the total number of sequences to calculate as a CLI argument $total = isset($argv[1]) ? $argv[1] : 25; $fib = new Fibonacci(); test($total, array($fib, 'iterative')); test($total, array($fib, 'binet')); test($total, array($fib, 'memoized')); // Limit our attempts with recursion if ($total <= 30) { test($total, array($fib, 'recursive')); }
Output for 7.1.0
iterative: 0.021934509277344 ms (0.00087738037109375) binet: 0.040054321289062 ms (0.0016021728515625) memoized: 0.020980834960938 ms (0.0008392333984375) recursive: 23.180961608887 ms (0.92723846435547)
Output for 7.0.14
iterative: 0.026941299438477 ms (0.0010776519775391) binet: 0.04887580871582 ms (0.0019550323486328) memoized: 0.017881393432617 ms (0.00071525573730469) recursive: 23.322105407715 ms (0.93288421630859)
Output for 7.0.10
iterative: 0.016927719116211 ms (0.00067710876464844) binet: 0.03814697265625 ms (0.00152587890625) memoized: 0.015974044799805 ms (0.00063896179199219) recursive: 19.820928573608 ms (0.79283714294434)
Output for 7.0.9
iterative: 0.024080276489258 ms (0.00096321105957031) binet: 0.039815902709961 ms (0.0015926361083984) memoized: 0.018835067749023 ms (0.00075340270996094) recursive: 17.819166183472 ms (0.71276664733887)
Output for 7.0.8
iterative: 0.01215934753418 ms (0.00048637390136719) binet: 0.029087066650391 ms (0.0011634826660156) memoized: 0.011205673217773 ms (0.00044822692871094) recursive: 13.604164123535 ms (0.54416656494141)
Output for 7.0.7
iterative: 0.011920928955078 ms (0.00047683715820312) binet: 0.029087066650391 ms (0.0011634826660156) memoized: 0.010967254638672 ms (0.00043869018554688) recursive: 13.341903686523 ms (0.53367614746094)
Output for 7.0.6
iterative: 0.011920928955078 ms (0.00047683715820312) binet: 0.026941299438477 ms (0.0010776519775391) memoized: 0.010967254638672 ms (0.00043869018554688) recursive: 13.776063919067 ms (0.5510425567627)
Output for 7.0.5
iterative: 0.012874603271484 ms (0.00051498413085938) binet: 0.028848648071289 ms (0.0011539459228516) memoized: 0.010013580322266 ms (0.00040054321289062) recursive: 13.577938079834 ms (0.54311752319336)
Output for 7.0.4
iterative: 0.014066696166992 ms (0.00056266784667969) binet: 0.026941299438477 ms (0.0010776519775391) memoized: 0.010013580322266 ms (0.00040054321289062) recursive: 13.740062713623 ms (0.54960250854492)
Output for 7.0.3
iterative: 0.011920928955078 ms (0.00047683715820312) binet: 0.025033950805664 ms (0.0010013580322266) memoized: 0.010013580322266 ms (0.00040054321289062) recursive: 14.513969421387 ms (0.58055877685547)
Output for 7.0.2
iterative: 0.011920928955078 ms (0.00047683715820312) binet: 0.028848648071289 ms (0.0011539459228516) memoized: 0.010013580322266 ms (0.00040054321289062) recursive: 13.645887374878 ms (0.54583549499512)
Output for 7.0.1
iterative: 0.012874603271484 ms (0.00051498413085938) binet: 0.030040740966797 ms (0.0012016296386719) memoized: 0.010013580322266 ms (0.00040054321289062) recursive: 13.607978820801 ms (0.54431915283203)
Output for 7.0.0
iterative: 0.012874603271484 ms (0.00051498413085938) binet: 0.030994415283203 ms (0.0012397766113281) memoized: 0.010967254638672 ms (0.00043869018554688) recursive: 14.602899551392 ms (0.58411598205566)
Output for hhvm-3.12.0
iterative: 0.061988830566406 ms (0.0024795532226562) binet: 0.065088272094727 ms (0.0026035308837891) memoized: 0.044822692871094 ms (0.0017929077148438) recursive: 93.185901641846 ms (3.7274360656738)
Output for hhvm-3.10.0
iterative: 0.11110305786133 ms (0.0044441223144531) binet: 0.093936920166016 ms (0.0037574768066406) memoized: 0.067949295043945 ms (0.0027179718017578) recursive: 130.21421432495 ms (5.208568572998)
Output for 5.6.28
iterative: 0.067949295043945 ms (0.0027179718017578) binet: 0.069856643676758 ms (0.0027942657470703) memoized: 0.055074691772461 ms (0.0022029876708984) recursive: 81.178903579712 ms (3.2471561431885)
Output for 5.6.25
iterative: 0.040054321289062 ms (0.0016021728515625) binet: 0.047922134399414 ms (0.0019168853759766) memoized: 0.030994415283203 ms (0.0012397766113281) recursive: 47.969102859497 ms (1.9187641143799)
Output for 5.6.24
iterative: 0.03814697265625 ms (0.00152587890625) binet: 0.045061111450195 ms (0.0018024444580078) memoized: 0.028848648071289 ms (0.0011539459228516) recursive: 50.534963607788 ms (2.0213985443115)
Output for 5.6.23
iterative: 0.032901763916016 ms (0.0013160705566406) binet: 0.039100646972656 ms (0.0015640258789062) memoized: 0.025033950805664 ms (0.0010013580322266) recursive: 45.931816101074 ms (1.837272644043)
Output for 5.6.22
iterative: 0.041961669921875 ms (0.001678466796875) binet: 0.041961669921875 ms (0.001678466796875) memoized: 0.030040740966797 ms (0.0012016296386719) recursive: 45.905113220215 ms (1.8362045288086)
Output for 5.6.21
iterative: 0.041007995605469 ms (0.0016403198242188) binet: 0.058174133300781 ms (0.0023269653320312) memoized: 0.031948089599609 ms (0.0012779235839844) recursive: 52.944898605347 ms (2.1177959442139)
Output for 5.6.20
iterative: 0.04887580871582 ms (0.0019550323486328) binet: 0.051975250244141 ms (0.0020790100097656) memoized: 0.030040740966797 ms (0.0012016296386719) recursive: 46.015977859497 ms (1.8406391143799)
Output for 5.6.19
iterative: 0.031948089599609 ms (0.0012779235839844) binet: 0.038862228393555 ms (0.0015544891357422) memoized: 0.024080276489258 ms (0.00096321105957031) recursive: 46.506881713867 ms (1.8602752685547)
Output for 5.6.18
iterative: 0.042915344238281 ms (0.0017166137695312) binet: 0.04887580871582 ms (0.0019550323486328) memoized: 0.030994415283203 ms (0.0012397766113281) recursive: 55.021047592163 ms (2.2008419036865)
Output for 5.6.17
iterative: 0.031948089599609 ms (0.0012779235839844) binet: 0.041007995605469 ms (0.0016403198242188) memoized: 0.025033950805664 ms (0.0010013580322266) recursive: 48.187971115112 ms (1.9275188446045)
Output for 5.6.16
iterative: 0.045061111450195 ms (0.0018024444580078) binet: 0.052928924560547 ms (0.0021171569824219) memoized: 0.032186508178711 ms (0.0012874603271484) recursive: 57.898998260498 ms (2.3159599304199)
Output for 5.6.15
iterative: 0.043869018554688 ms (0.0017547607421875) binet: 0.044107437133789 ms (0.0017642974853516) memoized: 0.028848648071289 ms (0.0011539459228516) recursive: 46.890020370483 ms (1.8756008148193)
Output for 5.6.14
iterative: 0.036954879760742 ms (0.0014781951904297) binet: 0.050067901611328 ms (0.0020027160644531) memoized: 0.031948089599609 ms (0.0012779235839844) recursive: 46.411037445068 ms (1.8564414978027)
Output for 5.6.13
iterative: 0.036001205444336 ms (0.0014400482177734) binet: 0.041961669921875 ms (0.001678466796875) memoized: 0.027894973754883 ms (0.0011157989501953) recursive: 50.528049468994 ms (2.0211219787598)
Output for 5.6.12
iterative: 0.030040740966797 ms (0.0012016296386719) binet: 0.036954879760742 ms (0.0014781951904297) memoized: 0.033855438232422 ms (0.0013542175292969) recursive: 50.827980041504 ms (2.0331192016602)
Output for 5.6.11
iterative: 0.049829483032227 ms (0.0019931793212891) binet: 0.060081481933594 ms (0.0024032592773438) memoized: 0.036954879760742 ms (0.0014781951904297) recursive: 63.584804534912 ms (2.5433921813965)
Output for 5.6.10
iterative: 0.072002410888672 ms (0.0028800964355469) binet: 0.066995620727539 ms (0.0026798248291016) memoized: 0.045061111450195 ms (0.0018024444580078) recursive: 62.392950057983 ms (2.4957180023193)
Output for 5.6.9
iterative: 0.055074691772461 ms (0.0022029876708984) binet: 0.056982040405273 ms (0.0022792816162109) memoized: 0.037908554077148 ms (0.0015163421630859) recursive: 60.187101364136 ms (2.4074840545654)
Output for 5.6.8
iterative: 0.045061111450195 ms (0.0018024444580078) binet: 0.056028366088867 ms (0.0022411346435547) memoized: 0.034093856811523 ms (0.0013637542724609) recursive: 52.570104598999 ms (2.10280418396)
Output for 5.6.7
iterative: 0.046014785766602 ms (0.0018405914306641) binet: 0.075817108154297 ms (0.0030326843261719) memoized: 0.055074691772461 ms (0.0022029876708984) recursive: 55.391073226929 ms (2.2156429290771)
Output for 5.6.6
iterative: 0.050067901611328 ms (0.0020027160644531) binet: 0.053167343139648 ms (0.0021266937255859) memoized: 0.02598762512207 ms (0.0010395050048828) recursive: 61.938047409058 ms (2.4775218963623)
Output for 5.6.5
iterative: 0.033140182495117 ms (0.0013256072998047) binet: 0.041007995605469 ms (0.0016403198242188) memoized: 0.024795532226562 ms (0.0009918212890625) recursive: 46.308040618896 ms (1.8523216247559)
Output for 5.6.4
iterative: 0.036954879760742 ms (0.0014781951904297) binet: 0.0457763671875 ms (0.0018310546875) memoized: 0.045061111450195 ms (0.0018024444580078) recursive: 65.201044082642 ms (2.6080417633057)
Output for 5.6.3
iterative: 0.053882598876953 ms (0.0021553039550781) binet: 0.060796737670898 ms (0.0024318695068359) memoized: 0.041961669921875 ms (0.001678466796875) recursive: 67.582130432129 ms (2.7032852172852)
Output for 5.6.2
iterative: 0.059127807617188 ms (0.0023651123046875) binet: 0.060081481933594 ms (0.0024032592773438) memoized: 0.044107437133789 ms (0.0017642974853516) recursive: 51.552057266235 ms (2.0620822906494)
Output for 5.6.1
iterative: 0.053882598876953 ms (0.0021553039550781) binet: 0.066041946411133 ms (0.0026416778564453) memoized: 0.041007995605469 ms (0.0016403198242188) recursive: 67.431211471558 ms (2.6972484588623)
Output for 5.6.0
iterative: 0.047922134399414 ms (0.0019168853759766) binet: 0.062942504882812 ms (0.0025177001953125) memoized: 0.034809112548828 ms (0.0013923645019531) recursive: 54.976940155029 ms (2.1990776062012)
Output for 5.5.38
iterative: 0.043153762817383 ms (0.0017261505126953) binet: 0.052213668823242 ms (0.0020885467529297) memoized: 0.032901763916016 ms (0.0013160705566406) recursive: 55.022001266479 ms (2.2008800506592)
Output for 5.5.37
iterative: 0.032901763916016 ms (0.0013160705566406) binet: 0.041961669921875 ms (0.001678466796875) memoized: 0.025033950805664 ms (0.0010013580322266) recursive: 45.274019241333 ms (1.8109607696533)
Output for 5.5.36
iterative: 0.032901763916016 ms (0.0013160705566406) binet: 0.042915344238281 ms (0.0017166137695312) memoized: 0.023841857910156 ms (0.00095367431640625) recursive: 45.830965042114 ms (1.8332386016846)
Output for 5.5.35
iterative: 0.043153762817383 ms (0.0017261505126953) binet: 0.041961669921875 ms (0.001678466796875) memoized: 0.025033950805664 ms (0.0010013580322266) recursive: 47.223091125488 ms (1.8889236450195)
Output for 5.5.34
iterative: 0.038862228393555 ms (0.0015544891357422) binet: 0.053882598876953 ms (0.0021553039550781) memoized: 0.025033950805664 ms (0.0010013580322266) recursive: 45.176029205322 ms (1.8070411682129)
Output for 5.5.33
iterative: 0.046014785766602 ms (0.0018405914306641) binet: 0.053167343139648 ms (0.0021266937255859) memoized: 0.034809112548828 ms (0.0013923645019531) recursive: 63.048124313354 ms (2.5219249725342)
Output for 5.5.32
iterative: 0.033140182495117 ms (0.0013256072998047) binet: 0.041961669921875 ms (0.001678466796875) memoized: 0.02598762512207 ms (0.0010395050048828) recursive: 47.327995300293 ms (1.8931198120117)
Output for 5.5.31
iterative: 0.032901763916016 ms (0.0013160705566406) binet: 0.043153762817383 ms (0.0017261505126953) memoized: 0.025033950805664 ms (0.0010013580322266) recursive: 53.984880447388 ms (2.1593952178955)
Output for 5.5.30
iterative: 0.031948089599609 ms (0.0012779235839844) binet: 0.040054321289062 ms (0.0016021728515625) memoized: 0.025033950805664 ms (0.0010013580322266) recursive: 51.447868347168 ms (2.0579147338867)
Output for 5.5.29
iterative: 0.037908554077148 ms (0.0015163421630859) binet: 0.046014785766602 ms (0.0018405914306641) memoized: 0.028848648071289 ms (0.0011539459228516) recursive: 54.39305305481 ms (2.1757221221924)
Output for 5.5.28
iterative: 0.051975250244141 ms (0.0020790100097656) binet: 0.056028366088867 ms (0.0022411346435547) memoized: 0.036954879760742 ms (0.0014781951904297) recursive: 53.644180297852 ms (2.1457672119141)
Output for 5.5.27
iterative: 0.051975250244141 ms (0.0020790100097656) binet: 0.052928924560547 ms (0.0021171569824219) memoized: 0.037193298339844 ms (0.0014877319335938) recursive: 55.61900138855 ms (2.224760055542)
Output for 5.5.26
iterative: 0.055074691772461 ms (0.0022029876708984) binet: 0.065088272094727 ms (0.0026035308837891) memoized: 0.041007995605469 ms (0.0016403198242188) recursive: 68.747997283936 ms (2.7499198913574)
Output for 5.5.25
iterative: 0.049829483032227 ms (0.0019931793212891) binet: 0.061988830566406 ms (0.0024795532226562) memoized: 0.038862228393555 ms (0.0015544891357422) recursive: 63.288927078247 ms (2.5315570831299)
Output for 5.5.24
iterative: 0.044107437133789 ms (0.0017642974853516) binet: 0.056982040405273 ms (0.0022792816162109) memoized: 0.033855438232422 ms (0.0013542175292969) recursive: 53.390979766846 ms (2.1356391906738)
Output for 5.5.23
iterative: 0.04887580871582 ms (0.0019550323486328) binet: 0.062942504882812 ms (0.0025177001953125) memoized: 0.037908554077148 ms (0.0015163421630859) recursive: 62.135934829712 ms (2.4854373931885)
Output for 5.5.22
iterative: 0.041007995605469 ms (0.0016403198242188) binet: 0.058889389038086 ms (0.0023555755615234) memoized: 0.030994415283203 ms (0.0012397766113281) recursive: 50.852060317993 ms (2.0340824127197)
Output for 5.5.21
iterative: 0.063896179199219 ms (0.0025558471679688) binet: 0.077009201049805 ms (0.0030803680419922) memoized: 0.051021575927734 ms (0.0020408630371094) recursive: 75.787782669067 ms (3.0315113067627)
Output for 5.5.20
iterative: 0.042200088500977 ms (0.0016880035400391) binet: 0.053882598876953 ms (0.0021553039550781) memoized: 0.034093856811523 ms (0.0013637542724609) recursive: 58.053970336914 ms (2.3221588134766)
Output for 5.5.19
iterative: 0.036001205444336 ms (0.0014400482177734) binet: 0.04887580871582 ms (0.0019550323486328) memoized: 0.029802322387695 ms (0.0011920928955078) recursive: 47.543048858643 ms (1.9017219543457)
Output for 5.5.18
iterative: 0.047922134399414 ms (0.0019168853759766) binet: 0.063180923461914 ms (0.0025272369384766) memoized: 0.03814697265625 ms (0.00152587890625) recursive: 57.997941970825 ms (2.319917678833)
Output for 5.5.16
iterative: 0.046014785766602 ms (0.0018405914306641) binet: 0.072002410888672 ms (0.0028800964355469) memoized: 0.037193298339844 ms (0.0014877319335938) recursive: 55.392980575562 ms (2.2157192230225)
Output for 5.5.15
iterative: 0.047922134399414 ms (0.0019168853759766) binet: 0.055074691772461 ms (0.0022029876708984) memoized: 0.03504753112793 ms (0.0014019012451172) recursive: 49.194812774658 ms (1.9677925109863)
Output for 5.5.14
iterative: 0.052928924560547 ms (0.0021171569824219) binet: 0.063896179199219 ms (0.0025558471679688) memoized: 0.040054321289062 ms (0.0016021728515625) recursive: 58.125019073486 ms (2.3250007629395)
Output for 5.5.13
iterative: 0.047922134399414 ms (0.0019168853759766) binet: 0.063896179199219 ms (0.0025558471679688) memoized: 0.037908554077148 ms (0.0015163421630859) recursive: 54.656982421875 ms (2.186279296875)
Output for 5.5.12
iterative: 0.045061111450195 ms (0.0018024444580078) binet: 0.056028366088867 ms (0.0022411346435547) memoized: 0.036001205444336 ms (0.0014400482177734) recursive: 51.697015762329 ms (2.0678806304932)
Output for 5.5.11
iterative: 0.049829483032227 ms (0.0019931793212891) binet: 0.062942504882812 ms (0.0025177001953125) memoized: 0.041961669921875 ms (0.001678466796875) recursive: 56.47611618042 ms (2.2590446472168)
Output for 5.5.10
iterative: 0.045061111450195 ms (0.0018024444580078) binet: 0.061988830566406 ms (0.0024795532226562) memoized: 0.036001205444336 ms (0.0014400482177734) recursive: 57.737112045288 ms (2.3094844818115)
Output for 5.5.9
iterative: 0.051021575927734 ms (0.0020408630371094) binet: 0.066995620727539 ms (0.0026798248291016) memoized: 0.039100646972656 ms (0.0015640258789062) recursive: 63.910007476807 ms (2.5564002990723)
Output for 5.5.8
iterative: 0.04887580871582 ms (0.0019550323486328) binet: 0.061988830566406 ms (0.0024795532226562) memoized: 0.03814697265625 ms (0.00152587890625) recursive: 57.290077209473 ms (2.2916030883789)
Output for 5.5.7
iterative: 0.051021575927734 ms (0.0020408630371094) binet: 0.066041946411133 ms (0.0026416778564453) memoized: 0.043153762817383 ms (0.0017261505126953) recursive: 62.248945236206 ms (2.4899578094482)
Output for 5.5.6
iterative: 0.056982040405273 ms (0.0022792816162109) binet: 0.061988830566406 ms (0.0024795532226562) memoized: 0.040054321289062 ms (0.0016021728515625) recursive: 54.037094116211 ms (2.1614837646484)
Output for 5.5.5
iterative: 0.052928924560547 ms (0.0021171569824219) binet: 0.068187713623047 ms (0.0027275085449219) memoized: 0.041961669921875 ms (0.001678466796875) recursive: 67.137956619263 ms (2.6855182647705)
Output for 5.5.4
iterative: 0.053882598876953 ms (0.0021553039550781) binet: 0.068902969360352 ms (0.0027561187744141) memoized: 0.040054321289062 ms (0.0016021728515625) recursive: 64.635992050171 ms (2.5854396820068)
Output for 5.5.3
iterative: 0.056028366088867 ms (0.0022411346435547) binet: 0.076055526733398 ms (0.0030422210693359) memoized: 0.044107437133789 ms (0.0017642974853516) recursive: 69.031953811646 ms (2.7612781524658)
Output for 5.5.2
iterative: 0.044822692871094 ms (0.0017929077148438) binet: 0.054121017456055 ms (0.0021648406982422) memoized: 0.036001205444336 ms (0.0014400482177734) recursive: 59.103965759277 ms (2.3641586303711)
Output for 5.5.1
iterative: 0.03814697265625 ms (0.00152587890625) binet: 0.055074691772461 ms (0.0022029876708984) memoized: 0.039100646972656 ms (0.0015640258789062) recursive: 50.580978393555 ms (2.0232391357422)
Output for 5.5.0
iterative: 0.052928924560547 ms (0.0021171569824219) binet: 0.06103515625 ms (0.00244140625) memoized: 0.040054321289062 ms (0.0016021728515625) recursive: 67.999124526978 ms (2.7199649810791)
Output for 5.4.45
iterative: 0.041961669921875 ms (0.001678466796875) binet: 0.042200088500977 ms (0.0016880035400391) memoized: 0.031948089599609 ms (0.0012779235839844) recursive: 44.813871383667 ms (1.7925548553467)
Output for 5.4.44
iterative: 0.053882598876953 ms (0.0021553039550781) binet: 0.058889389038086 ms (0.0023555755615234) memoized: 0.041961669921875 ms (0.001678466796875) recursive: 63.310861587524 ms (2.532434463501)
Output for 5.4.43
iterative: 0.062942504882812 ms (0.0025177001953125) binet: 0.06103515625 ms (0.00244140625) memoized: 0.045061111450195 ms (0.0018024444580078) recursive: 51.982879638672 ms (2.0793151855469)
Output for 5.4.42
iterative: 0.048160552978516 ms (0.0019264221191406) binet: 0.059843063354492 ms (0.0023937225341797) memoized: 0.039815902709961 ms (0.0015926361083984) recursive: 60.016870498657 ms (2.4006748199463)
Output for 5.4.41
iterative: 0.046014785766602 ms (0.0018405914306641) binet: 0.057220458984375 ms (0.002288818359375) memoized: 0.037908554077148 ms (0.0015163421630859) recursive: 47.060012817383 ms (1.8824005126953)
Output for 5.4.40
iterative: 0.046968460083008 ms (0.0018787384033203) binet: 0.092029571533203 ms (0.0036811828613281) memoized: 0.039100646972656 ms (0.0015640258789062) recursive: 56.62202835083 ms (2.2648811340332)
Output for 5.4.39
iterative: 0.034093856811523 ms (0.0013637542724609) binet: 0.049829483032227 ms (0.0019931793212891) memoized: 0.032901763916016 ms (0.0013160705566406) recursive: 44.693946838379 ms (1.7877578735352)
Output for 5.4.38
iterative: 0.051975250244141 ms (0.0020790100097656) binet: 0.065088272094727 ms (0.0026035308837891) memoized: 0.045061111450195 ms (0.0018024444580078) recursive: 57.726860046387 ms (2.3090744018555)
Output for 5.4.37
iterative: 0.039100646972656 ms (0.0015640258789062) binet: 0.050067901611328 ms (0.0020027160644531) memoized: 0.032901763916016 ms (0.0013160705566406) recursive: 43.565034866333 ms (1.7426013946533)
Output for 5.4.36
iterative: 0.051021575927734 ms (0.0020408630371094) binet: 0.067949295043945 ms (0.0027179718017578) memoized: 0.043869018554688 ms (0.0017547607421875) recursive: 59.990882873535 ms (2.3996353149414)
Output for 5.4.35
iterative: 0.056982040405273 ms (0.0022792816162109) binet: 0.074148178100586 ms (0.0029659271240234) memoized: 0.050067901611328 ms (0.0020027160644531) recursive: 62.819004058838 ms (2.5127601623535)
Output for 5.4.34
iterative: 0.065088272094727 ms (0.0026035308837891) binet: 0.072002410888672 ms (0.0028800964355469) memoized: 0.051975250244141 ms (0.0020790100097656) recursive: 55.521011352539 ms (2.2208404541016)
Output for 5.4.32
iterative: 0.046968460083008 ms (0.0018787384033203) binet: 0.060081481933594 ms (0.0024032592773438) memoized: 0.03504753112793 ms (0.0014019012451172) recursive: 48.604011535645 ms (1.9441604614258)
Output for 5.4.31
iterative: 0.048160552978516 ms (0.0019264221191406) binet: 0.056982040405273 ms (0.0022792816162109) memoized: 0.042915344238281 ms (0.0017166137695312) recursive: 58.764934539795 ms (2.3505973815918)
Output for 5.4.30
iterative: 0.04887580871582 ms (0.0019550323486328) binet: 0.06103515625 ms (0.00244140625) memoized: 0.042915344238281 ms (0.0017166137695312) recursive: 52.483081817627 ms (2.0993232727051)
Output for 5.4.29
iterative: 0.032901763916016 ms (0.0013160705566406) binet: 0.043869018554688 ms (0.0017547607421875) memoized: 0.027894973754883 ms (0.0011157989501953) recursive: 45.734167098999 ms (1.82936668396)
Output for 5.4.28
iterative: 0.052928924560547 ms (0.0021171569824219) binet: 0.068902969360352 ms (0.0027561187744141) memoized: 0.044107437133789 ms (0.0017642974853516) recursive: 56.278944015503 ms (2.2511577606201)
Output for 5.4.27
iterative: 0.051975250244141 ms (0.0020790100097656) binet: 0.06413459777832 ms (0.0025653839111328) memoized: 0.043153762817383 ms (0.0017261505126953) recursive: 57.045936584473 ms (2.2818374633789)
Output for 5.4.26
iterative: 0.053882598876953 ms (0.0021553039550781) binet: 0.066995620727539 ms (0.0026798248291016) memoized: 0.042915344238281 ms (0.0017166137695312) recursive: 50.611972808838 ms (2.0244789123535)
Output for 5.4.25
iterative: 0.032901763916016 ms (0.0013160705566406) binet: 0.046968460083008 ms (0.0018787384033203) memoized: 0.031948089599609 ms (0.0012779235839844) recursive: 42.620897293091 ms (1.7048358917236)
Output for 5.4.24
iterative: 0.064849853515625 ms (0.002593994140625) binet: 0.070095062255859 ms (0.0028038024902344) memoized: 0.049114227294922 ms (0.0019645690917969) recursive: 51.087856292725 ms (2.043514251709)
Output for 5.4.23
iterative: 0.050067901611328 ms (0.0020027160644531) binet: 0.062942504882812 ms (0.0025177001953125) memoized: 0.042915344238281 ms (0.0017166137695312) recursive: 61.640977859497 ms (2.4656391143799)
Output for 5.4.22
iterative: 0.067949295043945 ms (0.0027179718017578) binet: 0.072002410888672 ms (0.0028800964355469) memoized: 0.054121017456055 ms (0.0021648406982422) recursive: 53.465127944946 ms (2.1386051177979)
Output for 5.4.21
iterative: 0.051021575927734 ms (0.0020408630371094) binet: 0.061988830566406 ms (0.0024795532226562) memoized: 0.041961669921875 ms (0.001678466796875) recursive: 51.127195358276 ms (2.0450878143311)
Output for 5.4.20
iterative: 0.046014785766602 ms (0.0018405914306641) binet: 0.06103515625 ms (0.00244140625) memoized: 0.039100646972656 ms (0.0015640258789062) recursive: 56.195020675659 ms (2.2478008270264)
Output for 5.4.19
iterative: 0.066995620727539 ms (0.0026798248291016) binet: 0.05793571472168 ms (0.0023174285888672) memoized: 0.036954879760742 ms (0.0014781951904297) recursive: 54.486989974976 ms (2.179479598999)
Output for 5.4.18
iterative: 0.046014785766602 ms (0.0018405914306641) binet: 0.051021575927734 ms (0.0020408630371094) memoized: 0.03504753112793 ms (0.0014019012451172) recursive: 50.449132919312 ms (2.0179653167725)
Output for 5.4.17
iterative: 0.055074691772461 ms (0.0022029876708984) binet: 0.056982040405273 ms (0.0022792816162109) memoized: 0.043153762817383 ms (0.0017261505126953) recursive: 49.937963485718 ms (1.9975185394287)
Output for 5.4.16
iterative: 0.054121017456055 ms (0.0021648406982422) binet: 0.061988830566406 ms (0.0024795532226562) memoized: 0.042915344238281 ms (0.0017166137695312) recursive: 65.640926361084 ms (2.6256370544434)
Output for 5.4.15
iterative: 0.046014785766602 ms (0.0018405914306641) binet: 0.053882598876953 ms (0.0021553039550781) memoized: 0.036954879760742 ms (0.0014781951904297) recursive: 51.050901412964 ms (2.0420360565186)
Output for 5.4.14
iterative: 0.041007995605469 ms (0.0016403198242188) binet: 0.049829483032227 ms (0.0019931793212891) memoized: 0.033140182495117 ms (0.0013256072998047) recursive: 52.949905395508 ms (2.1179962158203)
Output for 5.4.13
iterative: 0.056028366088867 ms (0.0022411346435547) binet: 0.05793571472168 ms (0.0023174285888672) memoized: 0.043153762817383 ms (0.0017261505126953) recursive: 49.715042114258 ms (1.9886016845703)
Output for 5.4.12
iterative: 0.043869018554688 ms (0.0017547607421875) binet: 0.056982040405273 ms (0.0022792816162109) memoized: 0.037908554077148 ms (0.0015163421630859) recursive: 53.749084472656 ms (2.1499633789062)
Output for 5.4.11
iterative: 0.052928924560547 ms (0.0021171569824219) binet: 0.061988830566406 ms (0.0024795532226562) memoized: 0.044822692871094 ms (0.0017929077148438) recursive: 63.462018966675 ms (2.538480758667)
Output for 5.4.10
iterative: 0.048160552978516 ms (0.0019264221191406) binet: 0.05793571472168 ms (0.0023174285888672) memoized: 0.03814697265625 ms (0.00152587890625) recursive: 58.913946151733 ms (2.3565578460693)
Output for 5.4.9
iterative: 0.044107437133789 ms (0.0017642974853516) binet: 0.053167343139648 ms (0.0021266937255859) memoized: 0.03814697265625 ms (0.00152587890625) recursive: 48.068046569824 ms (1.922721862793)
Output for 5.4.8
iterative: 0.041961669921875 ms (0.001678466796875) binet: 0.052928924560547 ms (0.0021171569824219) memoized: 0.034093856811523 ms (0.0013637542724609) recursive: 56.727170944214 ms (2.2690868377686)
Output for 5.4.7
iterative: 0.034809112548828 ms (0.0013923645019531) binet: 0.043869018554688 ms (0.0017547607421875) memoized: 0.073909759521484 ms (0.0029563903808594) recursive: 51.285028457642 ms (2.0514011383057)
Output for 5.4.6
iterative: 0.040054321289062 ms (0.0016021728515625) binet: 0.052928924560547 ms (0.0021171569824219) memoized: 0.034093856811523 ms (0.0013637542724609) recursive: 48.99001121521 ms (1.9596004486084)
Output for 5.4.5
iterative: 0.052928924560547 ms (0.0021171569824219) binet: 0.063896179199219 ms (0.0025558471679688) memoized: 0.042915344238281 ms (0.0017166137695312) recursive: 62.932014465332 ms (2.5172805786133)
Output for 5.4.4
iterative: 0.052928924560547 ms (0.0021171569824219) binet: 0.064849853515625 ms (0.002593994140625) memoized: 0.056028366088867 ms (0.0022411346435547) recursive: 59.087991714478 ms (2.3635196685791)
Output for 5.4.3
iterative: 0.054836273193359 ms (0.0021934509277344) binet: 0.066041946411133 ms (0.0026416778564453) memoized: 0.046968460083008 ms (0.0018787384033203) recursive: 63.009023666382 ms (2.5203609466553)
Output for 5.4.2
iterative: 0.049114227294922 ms (0.0019645690917969) binet: 0.071048736572266 ms (0.0028419494628906) memoized: 0.041961669921875 ms (0.001678466796875) recursive: 51.24306678772 ms (2.0497226715088)
Output for 5.4.1
iterative: 0.064849853515625 ms (0.002593994140625) binet: 0.069856643676758 ms (0.0027942657470703) memoized: 0.051021575927734 ms (0.0020408630371094) recursive: 54.338932037354 ms (2.1735572814941)
Output for 5.4.0
iterative: 0.066995620727539 ms (0.0026798248291016) binet: 0.068187713623047 ms (0.0027275085449219) memoized: 0.049114227294922 ms (0.0019645690917969) recursive: 55.344104766846 ms (2.2137641906738)
Output for 5.3.29
iterative: 0.036954879760742 ms (0.0014781951904297) binet: 0.052928924560547 ms (0.0021171569824219) memoized: 0.041007995605469 ms (0.0016403198242188) recursive: 64.831018447876 ms (2.593240737915)
Output for 5.3.28
iterative: 0.071048736572266 ms (0.0028419494628906) binet: 0.092029571533203 ms (0.0036811828613281) memoized: 0.062942504882812 ms (0.0025177001953125) recursive: 75.071096420288 ms (3.0028438568115)
Output for 5.3.27
iterative: 0.056028366088867 ms (0.0022411346435547) binet: 0.060081481933594 ms (0.0024032592773438) memoized: 0.051975250244141 ms (0.0020790100097656) recursive: 86.816072463989 ms (3.4726428985596)
Output for 5.3.26
iterative: 0.058174133300781 ms (0.0023269653320312) binet: 0.060081481933594 ms (0.0024032592773438) memoized: 0.055074691772461 ms (0.0022029876708984) recursive: 81.124067306519 ms (3.2449626922607)
Output for 5.3.25
iterative: 0.060081481933594 ms (0.0024032592773438) binet: 0.06103515625 ms (0.00244140625) memoized: 0.055074691772461 ms (0.0022029876708984) recursive: 85.993051528931 ms (3.4397220611572)
Output for 5.3.24
iterative: 0.050067901611328 ms (0.0020027160644531) binet: 0.066041946411133 ms (0.0026416778564453) memoized: 0.047922134399414 ms (0.0019168853759766) recursive: 71.815967559814 ms (2.8726387023926)
Output for 5.3.23
iterative: 0.053882598876953 ms (0.0021553039550781) binet: 0.06103515625 ms (0.00244140625) memoized: 0.073909759521484 ms (0.0029563903808594) recursive: 81.717014312744 ms (3.2686805725098)
Output for 5.3.22
iterative: 0.05793571472168 ms (0.0023174285888672) binet: 0.066041946411133 ms (0.0026416778564453) memoized: 0.052928924560547 ms (0.0021171569824219) recursive: 77.018976211548 ms (3.0807590484619)
Output for 5.3.21
iterative: 0.041961669921875 ms (0.001678466796875) binet: 0.051975250244141 ms (0.0020790100097656) memoized: 0.038862228393555 ms (0.0015544891357422) recursive: 67.974090576172 ms (2.7189636230469)
Output for 5.3.20
iterative: 0.072002410888672 ms (0.0028800964355469) binet: 0.077009201049805 ms (0.0030803680419922) memoized: 0.059127807617188 ms (0.0023651123046875) recursive: 112.82420158386 ms (4.5129680633545)
Output for 5.3.19
iterative: 0.06103515625 ms (0.00244140625) binet: 0.055074691772461 ms (0.0022029876708984) memoized: 0.046014785766602 ms (0.0018405914306641) recursive: 69.05198097229 ms (2.7620792388916)
Output for 5.3.18
iterative: 0.059843063354492 ms (0.0023937225341797) binet: 0.066041946411133 ms (0.0026416778564453) memoized: 0.053882598876953 ms (0.0021553039550781) recursive: 91.938018798828 ms (3.6775207519531)
Output for 5.3.17
iterative: 0.059843063354492 ms (0.0023937225341797) binet: 0.063180923461914 ms (0.0025272369384766) memoized: 0.051975250244141 ms (0.0020790100097656) recursive: 69.831848144531 ms (2.7932739257812)
Output for 5.3.16
iterative: 0.052928924560547 ms (0.0021171569824219) binet: 0.060796737670898 ms (0.0024318695068359) memoized: 0.046968460083008 ms (0.0018787384033203) recursive: 82.351922988892 ms (3.2940769195557)
Output for 5.3.15
iterative: 0.044107437133789 ms (0.0017642974853516) binet: 0.052928924560547 ms (0.0021171569824219) memoized: 0.039100646972656 ms (0.0015640258789062) recursive: 70.513963699341 ms (2.8205585479736)
Output for 5.3.14
iterative: 0.077009201049805 ms (0.0030803680419922) binet: 0.073909759521484 ms (0.0029563903808594) memoized: 0.061988830566406 ms (0.0024795532226562) recursive: 89.409112930298 ms (3.5763645172119)
Output for 5.3.13
iterative: 0.081777572631836 ms (0.0032711029052734) binet: 0.073909759521484 ms (0.0029563903808594) memoized: 0.063896179199219 ms (0.0025558471679688) recursive: 86.606025695801 ms (3.464241027832)
Output for 5.3.12
iterative: 0.043153762817383 ms (0.0017261505126953) binet: 0.054121017456055 ms (0.0021648406982422) memoized: 0.041007995605469 ms (0.0016403198242188) recursive: 68.839073181152 ms (2.7535629272461)
Output for 5.3.11
iterative: 0.061988830566406 ms (0.0024795532226562) binet: 0.066995620727539 ms (0.0026798248291016) memoized: 0.058174133300781 ms (0.0023269653320312) recursive: 90.980052947998 ms (3.6392021179199)
Output for 5.3.10
iterative: 0.053882598876953 ms (0.0021553039550781) binet: 0.06413459777832 ms (0.0025653839111328) memoized: 0.051021575927734 ms (0.0020408630371094) recursive: 80.978155136108 ms (3.2391262054443)
Output for 5.3.9
iterative: 0.066041946411133 ms (0.0026416778564453) binet: 0.073909759521484 ms (0.0029563903808594) memoized: 0.05793571472168 ms (0.0023174285888672) recursive: 92.523813247681 ms (3.7009525299072)
Output for 5.3.8
iterative: 0.067949295043945 ms (0.0027179718017578) binet: 0.075101852416992 ms (0.0030040740966797) memoized: 0.063896179199219 ms (0.0025558471679688) recursive: 88.129043579102 ms (3.5251617431641)
Output for 5.3.7
iterative: 0.06103515625 ms (0.00244140625) binet: 0.072002410888672 ms (0.0028800964355469) memoized: 0.056982040405273 ms (0.0022792816162109) recursive: 91.426134109497 ms (3.6570453643799)
Output for 5.3.6
iterative: 0.059127807617188 ms (0.0023651123046875) binet: 0.065088272094727 ms (0.0026035308837891) memoized: 0.056982040405273 ms (0.0022792816162109) recursive: 87.518930435181 ms (3.5007572174072)
Output for 5.3.5
iterative: 0.066995620727539 ms (0.0026798248291016) binet: 0.064849853515625 ms (0.002593994140625) memoized: 0.049114227294922 ms (0.0019645690917969) recursive: 78.865051269531 ms (3.1546020507812)
Output for 5.3.4
iterative: 0.068902969360352 ms (0.0027561187744141) binet: 0.074863433837891 ms (0.0029945373535156) memoized: 0.062942504882812 ms (0.0025177001953125) recursive: 84.537982940674 ms (3.381519317627)
Output for 5.3.3
iterative: 0.065088272094727 ms (0.0026035308837891) binet: 0.082969665527344 ms (0.0033187866210938) memoized: 0.058889389038086 ms (0.0023555755615234) recursive: 85.500955581665 ms (3.4200382232666)
Output for 5.3.2
iterative: 0.056982040405273 ms (0.0022792816162109) binet: 0.06103515625 ms (0.00244140625) memoized: 0.051021575927734 ms (0.0020408630371094) recursive: 78.795909881592 ms (3.1518363952637)
Output for 5.3.1
iterative: 0.051021575927734 ms (0.0020408630371094) binet: 0.071048736572266 ms (0.0028419494628906) memoized: 0.04887580871582 ms (0.0019550323486328) recursive: 76.891183853149 ms (3.075647354126)
Output for 5.3.0
iterative: 0.059843063354492 ms (0.0023937225341797) binet: 0.060796737670898 ms (0.0024318695068359) memoized: 0.051975250244141 ms (0.0020790100097656) recursive: 80.281019210815 ms (3.2112407684326)
Output for 5.2.17
iterative: 0.11396408081055 ms (0.0045585632324219) binet: 0.088930130004883 ms (0.0035572052001953) memoized: 0.082015991210938 ms (0.0032806396484375) recursive: 116.20593070984 ms (4.6482372283936)
Output for 5.2.16
iterative: 0.090837478637695 ms (0.0036334991455078) binet: 0.085115432739258 ms (0.0034046173095703) memoized: 0.1060962677002 ms (0.0042438507080078) recursive: 106.23598098755 ms (4.249439239502)
Output for 5.2.15
iterative: 0.090122222900391 ms (0.0036048889160156) binet: 0.075101852416992 ms (0.0030040740966797) memoized: 0.067949295043945 ms (0.0027179718017578) recursive: 108.61897468567 ms (4.3447589874268)
Output for 5.2.14
iterative: 0.094890594482422 ms (0.0037956237792969) binet: 0.086784362792969 ms (0.0034713745117188) memoized: 0.076055526733398 ms (0.0030422210693359) recursive: 125.87809562683 ms (5.0351238250732)
Output for 5.2.13
iterative: 0.089883804321289 ms (0.0035953521728516) binet: 0.081062316894531 ms (0.0032424926757812) memoized: 0.066995620727539 ms (0.0026798248291016) recursive: 105.54885864258 ms (4.2219543457031)
Output for 5.2.12
iterative: 0.085830688476562 ms (0.0034332275390625) binet: 0.080108642578125 ms (0.003204345703125) memoized: 0.066995620727539 ms (0.0026798248291016) recursive: 113.31987380981 ms (4.5327949523926)
Output for 5.2.11
iterative: 0.08702278137207 ms (0.0034809112548828) binet: 0.082015991210938 ms (0.0032806396484375) memoized: 0.066041946411133 ms (0.0026416778564453) recursive: 110.33701896667 ms (4.413480758667)
Output for 5.2.10
iterative: 0.077962875366211 ms (0.0031185150146484) binet: 0.067949295043945 ms (0.0027179718017578) memoized: 0.060081481933594 ms (0.0024032592773438) recursive: 99.328994750977 ms (3.9731597900391)
Output for 5.2.9
iterative: 0.10991096496582 ms (0.0043964385986328) binet: 0.097036361694336 ms (0.0038814544677734) memoized: 0.077009201049805 ms (0.0030803680419922) recursive: 110.34107208252 ms (4.4136428833008)
Output for 5.2.8
iterative: 0.089883804321289 ms (0.0035953521728516) binet: 0.068902969360352 ms (0.0027561187744141) memoized: 0.060796737670898 ms (0.0024318695068359) recursive: 100.33392906189 ms (4.0133571624756)
Output for 5.2.7
iterative: 0.097990036010742 ms (0.0039196014404297) binet: 0.11301040649414 ms (0.0045204162597656) memoized: 0.077962875366211 ms (0.0031185150146484) recursive: 121.90699577332 ms (4.8762798309326)
Output for 5.2.6
iterative: 0.081062316894531 ms (0.0032424926757812) binet: 0.085115432739258 ms (0.0034046173095703) memoized: 0.062942504882812 ms (0.0025177001953125) recursive: 107.64193534851 ms (4.3056774139404)
Output for 5.2.5
iterative: 0.062942504882812 ms (0.0025177001953125) binet: 0.059127807617188 ms (0.0023651123046875) memoized: 0.049114227294922 ms (0.0019645690917969) recursive: 92.339038848877 ms (3.6935615539551)
Output for 5.2.4
iterative: 0.061988830566406 ms (0.0024795532226562) binet: 0.056028366088867 ms (0.0022411346435547) memoized: 0.047922134399414 ms (0.0019168853759766) recursive: 92.886209487915 ms (3.7154483795166)
Output for 5.2.3
iterative: 0.090122222900391 ms (0.0036048889160156) binet: 0.082969665527344 ms (0.0033187866210938) memoized: 0.072002410888672 ms (0.0028800964355469) recursive: 106.35995864868 ms (4.2543983459473)
Output for 5.2.2
iterative: 0.17309188842773 ms (0.0069236755371094) binet: 0.090837478637695 ms (0.0036334991455078) memoized: 0.072956085205078 ms (0.0029182434082031) recursive: 111.65809631348 ms (4.4663238525391)
Output for 5.2.1
iterative: 0.069141387939453 ms (0.0027656555175781) binet: 0.070095062255859 ms (0.0028038024902344) memoized: 0.054121017456055 ms (0.0021648406982422) recursive: 97.246170043945 ms (3.8898468017578)
Output for 5.2.0
iterative: 0.11801719665527 ms (0.0047206878662109) binet: 0.08702278137207 ms (0.0034809112548828) memoized: 0.070095062255859 ms (0.0028038024902344) recursive: 117.91896820068 ms (4.7167587280273)
Output for 5.1.6
iterative: 0.10108947753906 ms (0.0040435791015625) binet: 0.084161758422852 ms (0.0033664703369141) memoized: 0.082015991210938 ms (0.0032806396484375) recursive: 129.21714782715 ms (5.1686859130859)
Output for 5.1.5
iterative: 0.092029571533203 ms (0.0036811828613281) binet: 0.070095062255859 ms (0.0028038024902344) memoized: 0.066995620727539 ms (0.0026798248291016) recursive: 118.92104148865 ms (4.7568416595459)
Output for 5.1.4
iterative: 0.059843063354492 ms (0.0023937225341797) binet: 0.056982040405273 ms (0.0022792816162109) memoized: 0.040054321289062 ms (0.0016021728515625) recursive: 86.843967437744 ms (3.4737586975098)
Output for 5.1.3
iterative: 0.088930130004883 ms (0.0035572052001953) binet: 0.068902969360352 ms (0.0027561187744141) memoized: 0.072956085205078 ms (0.0029182434082031) recursive: 118.06702613831 ms (4.7226810455322)
Output for 5.1.2
iterative: 0.097990036010742 ms (0.0039196014404297) binet: 0.082015991210938 ms (0.0032806396484375) memoized: 0.068902969360352 ms (0.0027561187744141) recursive: 103.47414016724 ms (4.1389656066895)
Output for 5.1.1
iterative: 0.082015991210938 ms (0.0032806396484375) binet: 0.066995620727539 ms (0.0026798248291016) memoized: 0.061988830566406 ms (0.0024795532226562) recursive: 97.166061401367 ms (3.8866424560547)
Output for 5.1.0
iterative: 0.077962875366211 ms (0.0031185150146484) binet: 0.067949295043945 ms (0.0027179718017578) memoized: 0.060081481933594 ms (0.0024032592773438) recursive: 93.784093856812 ms (3.7513637542725)
Output for 5.0.5
iterative: 0.25701522827148 ms (0.010280609130859) binet: 0.14209747314453 ms (0.0056838989257812) memoized: 0.1060962677002 ms (0.0042438507080078) recursive: 164.19005393982 ms (6.5676021575928)
Output for 5.0.4
iterative: 0.23198127746582 ms (0.0092792510986328) binet: 0.10800361633301 ms (0.0043201446533203) memoized: 0.095129013061523 ms (0.0038051605224609) recursive: 153.52392196655 ms (6.1409568786621)
Output for 5.0.3
iterative: 0.19383430480957 ms (0.0077533721923828) binet: 0.097036361694336 ms (0.0038814544677734) memoized: 0.085830688476562 ms (0.0034332275390625) recursive: 161.45181655884 ms (6.4580726623535)
Output for 5.0.2
iterative: 0.18095970153809 ms (0.0072383880615234) binet: 0.086069107055664 ms (0.0034427642822266) memoized: 0.077962875366211 ms (0.0031185150146484) recursive: 158.32591056824 ms (6.3330364227295)
Output for 5.0.1
iterative: 0.18095970153809 ms (0.0072383880615234) binet: 0.081062316894531 ms (0.0032424926757812) memoized: 0.072002410888672 ms (0.0028800964355469) recursive: 136.98410987854 ms (5.4793643951416)
Output for 5.0.0
iterative: 0.23913383483887 ms (0.0095653533935547) binet: 0.10991096496582 ms (0.0043964385986328) memoized: 0.10919570922852 ms (0.0043678283691406) recursive: 164.11805152893 ms (6.5647220611572)
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/hlD1c on line 12
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/hlD1c on line 12
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/hlD1c on line 12
Process exited with code 255.