php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69848 Huge performance regression
Submitted: 2015-06-16 09:53 UTC Modified: 2015-06-28 04:22 UTC
From: andrzej at onlinehomeretail dot co dot uk Assigned:
Status: No Feedback Package: Performance problem
PHP Version: 7.0Git-2015-06-16 (Git) OS: FreeBSD 10.1-RELEASE-p6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
28 - 25 = ?
Subscribe to this entry?

 
 [2015-06-16 09:53 UTC] andrzej at onlinehomeretail dot co dot uk
Description:
------------
Hi guys

I'm building a web application in laravel5.1 under php7. Yesterday I have compiled PHP from the newest source code available and I have noticed huge performance drop down in cgi mode. I have tried to change configuration but the results were not satisfying at all. Today I decided to recompile the source code from random older revision (May 17th, HEAD at 440481fb3e15d78d0d92432c3adba9067989f43a) and the performance is back as expected. Below you can find some numbers for single simple authentication page:

Source code from 16th June:
opcache enabled: ~18 SECONDS!!!
opcache disabled: ~900 miliseconds

Source code from 17th May:
opcache enabled: ~7 miliseconds
opcache disabled: ~40 miliseconds

The config files, system configuration, http server configuration, everything is the same.

Also, even a simple page, without any laravel, like:
echo "Hello World!"; 
on the newest revision with opcache enabled takes about 10 SECONDS to execute.

With regards
Andrzej


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-16 11:47 UTC] laruence@php.net
please try to use strace or valgrind(callgrind) to figure out where the problem is
 [2015-06-16 14:13 UTC] kalle@php.net
-Status: Open +Status: Feedback
 [2015-06-16 19:02 UTC] cmb@php.net
-Summary: Huge performance regretion +Summary: Huge performance regression
 [2015-06-28 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 10:01:28 2024 UTC