Re: phpng: Refactored PHP Engine with Big Performance Improvement

From: Date: Tue, 06 May 2014 06:41:30 +0000
Subject: Re: phpng: Refactored PHP Engine with Big Performance Improvement
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-73941@lists.php.net to get a copy of this message
On Tue, May 6, 2014 at 8:25 AM, Dmitry Stogov <dmitry@zend.com> wrote: > > > > On Tue, May 6, 2014 at 10:14 AM, Pierre Joye <pierre.php@gmail.com> wrote: >> >> On Tue, May 6, 2014 at 7:56 AM, Dmitry Stogov <dmitry@zend.com> wrote: >> > int64 proposal is still in draft for very long time. >> >> Sorry, but it was proposed and rejected because of the changes were >> too big for the 5.x serie. It has been said, as arguments for the no, >> that it would not be a problem for php 6. We are so far. > > > I was never glad with size_t string lengths and told about it. > >> >> >> > Do you provide support for all other unrelated proposals when you offer >> > your >> > own? >> >> I do not understand the question, what do you mean? > > > I mean that when you develop something big, you have to be concentrated on > the goals you are going to solve and not on compatibility with others > proposals. Right, but this is possible to achieve by cooperating with the authors of other proposals. Early and well organized proposals minimize the pain for other developers while maximizing the chance of success. >> However, about support, we do offer support for almost every proposal, >> be for testing, build fixes, etc. Pro actively in most cases, whether >> it is in our priorities list or not. My reasoning here is pretty >> simple, a stable PHP, for all supported platform or configuration is >> critical for the success of PHP. Cooperation too. >> >> > Lets think how to integrate them. I propose doing it in two steps >> > (measuring >> > the performance and memory consumption difference). >> > If the degradation is going to be invisible, I won't object. >> >> The numbers are available already, using master and 5.5-5.6. We >> obviously do not have numbers using your patch but I do not think the >> delta will be any different. > > > phpng completely changes zval structure and reduces overhead of some > subsystems, so the numbers might be different. They will be different, no doubt here, but there should not be that much differences from a relative point of view. However I do not think I can go to my team and asked to do that from scratch based on a work in progress effort (even a very good one :). The more I look at it the more I think it is easier and faster to merge the 64bit and then adapt the other one, if accepted (for both proposals). Cheers, -- Pierre @pierrejoye | http://www.libgd.org

« previous php.internals (#73941) next »