Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98941 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72487 invoked from network); 2 May 2017 19:04:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 May 2017 19:04:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=lists@rhsoft.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lists@rhsoft.net; 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:42793] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/B9-02776-D38D8095 for ; Tue, 02 May 2017 15:04:30 -0400 Received: from srv-rhsoft.rhsoft.net (Authenticated sender: h.reindl@thelounge.net) by mail.thelounge.net (THELOUNGE MTA) with ESMTPSA id 3wHW1Q0B6qzXKg for ; Tue, 2 May 2017 21:04:26 +0200 (CEST) To: PHP internals References: <79ca3537-b439-583a-6162-05da302711f2@rhsoft.net> Message-ID: Date: Tue, 2 May 2017 21:04:25 +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 20:53 schrieb Nikita Popov: > These results are very unlikely. I'm 95% sure your benchmark is > broken. My first guess would be that you're benchmarking PHP + > JIT against PHP without opcache. Please share the relevant > (opcache-related) portion of the php.inis you used > > no they are not - since i build RPM packages and even the whole > spec-file is unchanged, only the tarball changed and the build is > highly optimized i can assure you for 100% that i compare PHP > 7.1.5RC1 with https://github.com/zendtech/php-src > downloaded today > > maybe the PGO-profiling running autotests and fuzzy-calls on the > whole application as well as 2000 cms-requests combined with the > compiler flags improves the JIT itself > > without opcache the results for 7.1.5 are *dramatically* slower > > and i repeated the test upgrade/downgrade packages and run "ab" > multiple times on that machine - attached the "php.spec" which is > used for the build > > in just downloaded the zip from https://github.com/zendtech/php-src > , renamed it to "php-7.2.0", > made a tar.xz archive, changed the version on teh frist line in the > spec file and fired the build/profiling - nothing else changed > > 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