[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-internals
Subject:    Re: [PHP-DEV] GC Improvements in PHP 7.3.0
From:       "Christoph M. Becker" <cmbecker69 () gmx ! de>
Date:       2018-12-08 18:50:30
Message-ID: 250d82d6-6c6c-f95f-2541-9db68b05dc9b () gmx ! de
[Download RAW message or body]

On 07.12.2018 at 19:51, Michael Kliewe wrote:

> Am 07.12.2018 um 16:11 schrieb Christoph M. Becker:
>
>> NEWS has the following entry[1]:
>>
>> | Improved PHP GC. (Dmitry, Nikita)
>>
>> I have not been able to find further info regarding this.  So my
>> question: are these minor improvements, or should they be documented in
>> the migration guide?  If the latter, could somebody please roughly
>> explain these improvements (are they general performance enhancements,
>> or only for particular use-cases, or whatever).
>>
>> [1] <https://github.com/php/php-src/blob/php-7.3.0/NEWS#L6>
> 
> it's   a huge improvement in some cases, when you have many objects
> flying around.
> 
> For example in DomPDF (in an artificial performance test) I saw an
> improvement from 7 seconds down to 2.7 seconds. It was roughly the same
> improvement compared to disabling the GC.
> 
> https://github.com/dompdf/dompdf/issues/1813#issuecomment-429228260
> 
> Composer disabled the GC and saw a big performance improvement:
> https://blog.blackfire.io/performance-impact-of-the-php-garbage-collector.html
> Maybe with 7.3 they don't have to disable it anymore... I didn't test.
> 
> Here are some performance numbers from nikic:
> 
> https://github.com/php/php-src/pull/3165#pullrequestreview-100399813
> 
> I would consider it a very nice performance improvement, that can lead
> to a faster adoption of 7.3 if you do some marketing with it. A 3x or 5x
> improvement is huge. Would be nice to see numbers when using frameworks,
> or Wordpress...

Thanks!  Then it should definitely be mentioned in the migration guide.
I'll see to it.

-- 
Christoph M. Becker

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic