Re: Practical comparisons on PHP7

From: Date: Tue, 08 Dec 2015 02:23:38 +0000
Subject: Re: Practical comparisons on PHP7
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-89731@lists.php.net to get a copy of this message
On Dec 7, 2015, at 18:17, Rasmus Lerdorf <rasmus@lerdorf.com> wrote: > >> On Dec 7, 2015, at 16:28, Lester Caine <lester@lsces.co.uk> wrote: >> >> PHP7 is around 10% slower ... and given that half the time is taken >> in database lookup, the code performance is potentially worse. So what >> am I missing? > > Then you have a config problem. The first and obvious thing to check is your opcache setup. Is > it working? phpinfo() will show you some cache stats. If opcache is working, what does your opcache > config look like? Did you compile with huge page support? If so, did you actually allocate some huge > pages for it? Ah, I just checked. You have no opcache at all in your PHP 7 setup. And you have eaccelerator configured for PHP 5. So an opcode cached PHP 5 is only 10% faster than a completely unaccelerated PHP 7. That's pretty damn impressive! -Rasmus

Attachment: [application/pkcs7-signature] smime.p7s
« previous php.internals (#89731) next »