Bug #70613 [Opn]: PHP7 degraded performance
| From: | rasmus@php.net | Date: | Tue, 13 Oct 2015 16:10:23 +0000 |
| Subject: | Bug #70613 [Opn]: PHP7 degraded performance | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-196598@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70613&edit=1
ID: 70613
Updated by: rasmus@php.net
Reported by: daniel at theenginuity dot com
Summary: PHP7 degraded performance
Status: Open
Type: Bug
Package: Performance problem
Operating System: Ubuntu 14.04 x86_64
PHP Version: 7.0.0RC4
Block user comment: N
Private report: N
New Comment:
I am not sure why you care about the performance of a trivial script like that. Install a real app
and test. If you still see a performance problem with something real, let us know.
Previous Comments:
------------------------------------------------------------------------
[2015-10-13 15:40:39] daniel at theenginuity dot com
Executed new performance tests with latest versions of PHP and observed the following results:
PHP 5.6.14 Average Memory Usage (Start of Test) = 33.9 MB
PHP 5.6.14 Average Memory Usage (End of Test) = 36.3 MB
PHP 5.6.14 Request Per Second (3 Test Runs) = 1043, 1039, 1034
PHP 7.0 RC3 Average Memory Usage (Start of Test) = 9.6 MB
PHP 7.0 RC3 Average Memory Usage (End of Test) = 17.1 MB
PHP 7.0 RC3 Request Per Second (3 Test Runs) = 959, 904, 939
PHP 7.0 RC4 Average Memory Usage (Start of Test) = 9.4 MB
PHP 7.0 RC4 Average Memory Usage (End of Test) = 17.0 MB
PHP 7.0 RC4 Request Per Second (3 Test Runs) = 971, 974, 974
------------------------------------------------------------------------
[2015-10-02 13:51:00] daniel at theenginuity dot com
Updated bug to RC3, will compile RC4 and will verify if any changes are observed in performance. I
can help debug this further if anyone would like more detailed information?
------------------------------------------------------------------------
[2015-10-02 11:37:59] kalle@php.net
Have you tried out RC4? (PHP version says RC4 in the bug report, but comments state RC3, so just
wondering)
------------------------------------------------------------------------
[2015-10-02 04:49:32] daniel at theenginuity dot com
Re-verified Opcache settings in PHP 7.0 RC3, fixed missing opcache.revalidate_freq, all other
settings set to same values as posted.
Request per second for PHP 7.0 = 1245, 1204, 1211
------------------------------------------------------------------------
[2015-10-01 18:00:23] rasmus@php.net
Initial guess would be that your opcache is not working/enabled in your PHP 7 setup. Check your
phpinfo() page.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=70613
--
Edit this bug report at https://bugs.php.net/bug.php?id=70613&edit=1