On Dec 7, 2015, at 18:17, Rasmus Lerdorf <ras...@lerdorf.com> wrote:
> 
>> On Dec 7, 2015, at 16:28, Lester Caine <les...@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: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to