Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jkopczewski
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
jkopczewski
13y ago
As to the Fibonacci numbers: I don't have it but it would be something along the lines of: function fib($n) { if ($n <= 1) { return $n; } else { return fib($n - 1) + fib($n - 2); } } $n = 30; $r = fib($n); echo "F
2.
▲
by
jkopczewski
13y ago
I used the php.ini file that comes bundled with the sources. I just think after I ran the benchmark the first time, I enabled opcode cache explicitly just to be sure. I used the Wordpress setup that comes in the sources. Followed the on-scr
3.
▲
by
jkopczewski
13y ago
The only other place where I could have possibly screwed up the results is compilation. I had to build PHP from source, since I wanted to have the "latest greatest" and CentOS has dated packages at times. Though again, I remember
4.
▲
by
jkopczewski
13y ago
Hi, my name is Julius and I performed the said benchmark while being an intern at FB. Yes, we used opcode cache in PHP. I definitely don't consider myself to be an expert on PHP configuration. I used the default settings. I was obvious