Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103581 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 81790 invoked from network); 8 Dec 2018 22:24:07 -0000 Received: from unknown (HELO mout.gmx.net) (212.227.15.15) by pb1.pair.com with SMTP; 8 Dec 2018 22:24:07 -0000 Received: from [192.168.2.103] ([79.222.37.159]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LkPBT-1h3fiu2xi7-00cQmL; Sat, 08 Dec 2018 19:50:31 +0100 To: Michael Kliewe , internals@lists.php.net References: <0cb24334-2a4a-89bb-1df2-9450b7b50ac9@phpgangsta.de> Message-ID: <250d82d6-6c6c-f95f-2541-9db68b05dc9b@gmx.de> Date: Sat, 8 Dec 2018 19:50:30 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: <0cb24334-2a4a-89bb-1df2-9450b7b50ac9@phpgangsta.de> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:otzGIJoIxL3DFDcAB2lUMUIagEiIwzlCF5n7i21aXapbuGaZi0P 27VEogqJSMJ8AN+J+p2HgEYGjMSPuG6D1xu8mQB/ocK8YkYrfrOSsei5aSXbJY6AFYT7h+Y Px+UxUv5Xdfn3P37c8RqDphxi8s8f5kFyhQ9HoBe2paBtriYWp0BwFMfdBT54lyoUSRB0Wc 6Ivl/cByjVz+TjrQB1pSQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:G6gxShruvCI=:CheMwX2BVmce7u42lwmGZJ h2n4URFTK45dqnc4Gsak0CdteuSVGgOc1KK06Kj/IIO0axZI9b+ovA1VjFerHQx8lMJsMCaxi gdEJNhWxhxbIoR2KiiUtFwYzrwKZc/RFB4WpMxLWs53YjL3gM8lSeIrsO0yz1jBDjT0BhbfAd WFROj2xZwbpyNxAev9y5xj6Fv2ycVu9j1oLwWpULNnRhPG8SoIlmlhRyxQkn1V8Coz47qXF4v uuldMDRjoibEOWhowna0e2z8umsnEe0vDBPbWNK0FfwAH2BaZGj6rPa3wIXOYeVwtM7CQYqY3 3dprW+hhkbagdAJGe3rJ9DTLmKpbmx9xM7ghWtzXtZ43jGUHHxBHzz9HZU5B38yQC2a+vuRB9 cIk/m0dq6LKk3M4oj9C4e0p3Wfc7v1fBFSPW2gRaDqr48ra5l37a5kauuZPrsXCJs101m7sG8 iund9iWzO0UlJCix/E0pEhF8mkj+AMUjWXcvOn/Gc1hrplT4fzEmx7wR3GuR+H0exEAdSGFe2 SbxNPnKFVo6Znvm82AKpDbHDd7+TtiSVcKECwy5thtqZX7NnDTFK323Dhtk8pi4kXJPI89d63 ZMcMXLG3J9RqrJF3A+XXnqTEw+p1mlzj76ZeCv74n4FcZmo2P2qGXZSmTeAldXVr041/G2VnA d/nXX/BzHeZ1YtCkmc4fQXoIwlZB46JmjCg0NLe4tZitabMxJ0TzCVZAr1IhL9KLq9RBvMz5F i+3EQ5euEMrr5FA70hp67PN81+7K8V6KRpmeKQDea22rpidR14cfUIWX8aasNCTSrXLXnsqIw b3XEYvgc7m5GjT4BCGD5tr00OuWPQqkQHQEf8zV7Q3BuHCYOvB3g+vjtTIwha73Fp8MkkilwU p9s2Mh0WSGQJcOyl2J8jHmCJ30w5w1MK5KSXddlA1BF6R0xaCzju3ZgD+CmJua Subject: Re: [PHP-DEV] GC Improvements in PHP 7.3.0 From: cmbecker69@gmx.de ("Christoph M. Becker") 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] > > 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