View Revisions: Issue #1757

Summary 0001757: Pause-execution feature degrades performance
Revision 2020-03-06 12:31 by derick
Description Today I updated to the latest master from commit `74e462ca201384b4da426bca147a8a9b5c7e5ef7`

Running this php code:

<?php
function fib($n)
{
    if ($n <= 1) {
        return 1;
    }
    return fib($n - 1) + fib($n - 2);
}

echo fib(35);


The time to run it changed from 2:16 min to 7m52s
Revision 2020-03-05 17:54 by barel
Description Today I updated to the latest master from commit `74e462ca201384b4da426bca147a8a9b5c7e5ef7`

Running this php code:

```
<?php
function fib($n)
{
    if ($n <= 1) {
        return 1;
    }
    return fib($n - 1) + fib($n - 2);
}

echo fib(35);
```

The time to run it changed from 2:16 min to 7m52s