On 08/12/15 02:23, Rasmus Lerdorf wrote:
> 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!

Gallery page with heavier load
                     Execute  Memory   Queries  Database
PHP5.4
eaccelerator off ...   0.60s  10.14Mb   153      0.39s
eaccelerator on  ...   0.49s  3.57Mb    153      0.39s
PHP5.6
TODO
PHP7
opcache off      ...   0.50s  7.00Mb    153      0.30s
opcache on       ...   0.40s  2.00Mb    153      0.30s

I'm still taking the 'twice as fast' claim with a pinch of salt, and I'm
only seeing opcache is performing as well as eaccelorator, so the idea
that PHP7 is an 'essential upgrade to improve performance' may have
relevance with some applications, but for the average user simply
upgrading the computer may have a better result?

I'm still interested in the idea of improving async operations such as
not having to wait for all database results until essential, and I'm a
little curious why the database service time is so much shorter between
5 and 7 THAT is the major gain between versions. But I need to check if
'Execute' was the total or excludes the database element. I had thought
it was the total as the 'Server Stats' also includes the percentage of
time handing database queries. Since exactly the same database service
is providing both they should be identical so something else is
affecting that figure.

Bottom line is that given the real world loading on my sites, the
differences are probably in the noise of network transit times so not
impressive at all :(

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to