Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98944 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78064 invoked from network); 2 May 2017 19:51:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 May 2017 19:51:13 -0000 Authentication-Results: pb1.pair.com header.from=lists@rhsoft.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=lists@rhsoft.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain rhsoft.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: lists@rhsoft.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Received: from [91.118.73.15] ([91.118.73.15:65419] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/CA-02776-F23E8095 for ; Tue, 02 May 2017 15:51:12 -0400 Received: from srv-rhsoft.rhsoft.net (Authenticated sender: h.reindl@thelounge.net) by mail.thelounge.net (THELOUNGE MTA) with ESMTPSA id 3wHX3J2wRtzXKg for ; Tue, 2 May 2017 21:51:08 +0200 (CEST) References: <79ca3537-b439-583a-6162-05da302711f2@rhsoft.net> To: PHP internals Message-ID: <403881ad-ec0c-395f-279e-6b345ee7cb39@rhsoft.net> Date: Tue, 2 May 2017 21:51:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-CH Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] the experimental jit-branch is impressive From: lists@rhsoft.net ("lists@rhsoft.net") Am 02.05.2017 um 21:12 schrieb Nikita Popov: > On Tue, May 2, 2017 at 9:04 PM, lists@rhsoft.net > >> You have xdebug enabled... > > loaded, but not enabled > > xdebug.default_enable = 0 > xdebug.profiler_enable = 0 > xdebug.profiler_enable_trigger = 1 > > 7.1.5: Requests per second: 136.46 > 7.1.5 opcache: Requests per second: 316.77 > 7.2.0 JIT PGO: Requests per second: 925.96 > 7.2.0 JIT NON-PGO: Requests per second: 849.99 > > around 8% are the difference with or without PGO, no idea how much > strict-types and a 100% typehinted codebase makes a difference to > the JIT operations > > This is a common misconception. If you have loaded xdebug you will incur > a major performance hit, regardless of ini settings. > xdebug.default_enable is a badly named option, which controls display of > stack traces, not whether xdebug is enabled. As far as I know, there is > no way to disable xdebug once it has been loaded. > > Please unload xdebug and try again argh - when the trigger is set to generate profiling files runtime is doubled compared with xdebug just loaded but indeed xdebug has a massive impact 7.1.5 PGO: Requests per second: 886.63 7.2.0 JIT PGO: Requests per second: 925.96 OK, than it are "only" 5% on a highly optimized codebase interesting is the impact of PGO-profiling which has likely a code-coverage nearly to 95% and that without xdebug our cms-system seems to be that efficient that it nearly runs as fast on a quad-core i7 from 2011 than on a 12-core Xeon from 2015.....