Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98942 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74026 invoked from network); 2 May 2017 19:12:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 May 2017 19:12:07 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.41 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.214.41 mail-it0-f41.google.com Received: from [209.85.214.41] ([209.85.214.41:38338] helo=mail-it0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3C/0A-02776-40AD8095 for ; Tue, 02 May 2017 15:12:04 -0400 Received: by mail-it0-f41.google.com with SMTP id e65so23955692ita.1 for ; Tue, 02 May 2017 12:12:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3zisQ7wIJaZNxUQnEMl1tVTtTcOjha4oG676xdHWfsU=; b=OXOvqFt9iPDq9aH5/yOWneE9wCb+Y+Ocv73nB9QLDsHBcka1tuix4pAxU4BiAWjXWS 97cv05tupWoCR4gR9oq7kGLBoH+outEkhkkMhBGkpOcnP6Ndm1PvFC3GB9XmtOBOcgqe uzFpEloTbSENBBZhgVuqw8zXtwjc+Eikp3fyqZyS41LKrJ0Bu89CV/6PCjPTrhkOHRE+ Bqv9SuXUPJuU49CT14i1/fjDjDzuGMv3mOYxfLvl+VVEAGQOPc/5lZoD8s0EP5BQb4bb +4AsfNGDFdkMmBvqzwdfn46YdpsGGdaETgkZLLD+aFtyfTSHoWzm4lTsKkb2Pc2CGccX 1xRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3zisQ7wIJaZNxUQnEMl1tVTtTcOjha4oG676xdHWfsU=; b=NDPiSz6uA/gwlkU525V2o3kDWbKigZn56MyarXrFQDTFEuX5n2rMmXFcoSwMIXY8+B kxKTcpuTttYKW5O4FewD+pasQTXJLCRpJozlfCnvtePkYbsTUWt02yTtkWGwbEFzPi9i oFFnV/X7oHU3JTSLrwQgeHJWe/UoBEdqjkO6X/NT+1kq6rL2JpNVoXX/P29lJ1cIIk/g 4GQSDkwGXOcyIZI+o4LtcfVt0M4FUn06F4UyI8VezSXKlA0XQdJibNZ8PeiuKeNaSS7l pv4gD+bbmdl+6cltTfrOEvjOtblFensoCHm6pOZO8sjzdwMHuL8HBTFsN0Z3TznwuYej KFSA== X-Gm-Message-State: AN3rC/5ZOIZl4tf05Y2s18UP/1Bvhl98T5zyrOYvFP0NhuDaPPiOJ+y0 wYjg+nvgf2nhIzAB9cod1Nc7ny36lw== X-Received: by 10.36.13.149 with SMTP id 143mr5160988itx.21.1493752321618; Tue, 02 May 2017 12:12:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.9.144 with HTTP; Tue, 2 May 2017 12:12:01 -0700 (PDT) In-Reply-To: References: <79ca3537-b439-583a-6162-05da302711f2@rhsoft.net> Date: Tue, 2 May 2017 21:12:01 +0200 Message-ID: To: "lists@rhsoft.net" Cc: PHP internals Content-Type: multipart/alternative; boundary=001a1144d5ec83366e054e8f500f Subject: Re: [PHP-DEV] the experimental jit-branch is impressive From: nikita.ppv@gmail.com (Nikita Popov) --001a1144d5ec83366e054e8f500f Content-Type: text/plain; charset=UTF-8 On Tue, May 2, 2017 at 9:04 PM, lists@rhsoft.net wrote: > > 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 > 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. Nikita --001a1144d5ec83366e054e8f500f--