Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98940 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70733 invoked from network); 2 May 2017 18:53:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 May 2017 18:53:09 -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.43 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.214.43 mail-it0-f43.google.com Received: from [209.85.214.43] ([209.85.214.43:37161] helo=mail-it0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/69-02776-595D8095 for ; Tue, 02 May 2017 14:53:09 -0400 Received: by mail-it0-f43.google.com with SMTP id x188so21802667itb.0 for ; Tue, 02 May 2017 11:53:09 -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=baOuroHCN2p0ai9/4mHDjd6j9i00WXpP1xgLtPBwoGU=; b=WL78A0noKxS3T/N/Y8sxPFuaRSONG+/nDvyBn6dd0mHw9MCRH0p5HsqFCSvycmTWi9 Axv57bgcOE9EwIjvJvM23T4BZwcNl8PRhIn8kzLYjTumQGafnacRRvVF81UDQeUH9XHN 1gyhQRP6GHkcwP5PSufFThYDZTINRuNvlsVSyc3nP34k3rBjTgyPXBFnET6K3kbt63Vh WYxVIhjlF5618niTk7cO054W0HfmVUrYVVLsylnrOs6Qpoqz1G7P5YU1H+mQ9fI42MIE +87jEW3EOuC5FRhnWokOl0jBk1h1JdEljpSuE4kEsltoTkLzNrpSMQSQOK8+EkQxBhPw hKCg== 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=baOuroHCN2p0ai9/4mHDjd6j9i00WXpP1xgLtPBwoGU=; b=mBJ0LdPzwhTQL6xa85VBRLoeGb7C/+DA40XxRm1ldPCMMGzaXOhyyDFOiZQdgfuBVb MtTqvMz43xTSbhSE5hIoM3UK/mCc8moqUf/nRi7AFMOSohJG52sLtNJkEAVhqSbO8MUQ a8n6ZYD29ASL4gT0z53c/2cyB0Vxa3Nn7xHzIMG3ahuxecgLrQVxB6Cq0AvqRL7RUHvx zXSfczgIoKbF4U+CQ0m1jGsD/G8MwBu1GkGRqefG/LcegHJ55vmPFHLUYRnjM0khGPgJ tbatenRwzO33x3SjLPszMOrEej904yxdbGjGoWpY3/ji0rPoWv2LWWxo/OUrMDeR9OvO mSlw== X-Gm-Message-State: AN3rC/5g2MZ0ityVLyxH41D8egE5KOeR42Aync2b93pe/ir6+1lGwOZj zcvRdrd7u6TykrvZk3dSaQ0XV4L18A== X-Received: by 10.36.190.70 with SMTP id i67mr1908192itf.28.1493751186582; Tue, 02 May 2017 11:53:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.9.144 with HTTP; Tue, 2 May 2017 11:53:06 -0700 (PDT) In-Reply-To: References: <79ca3537-b439-583a-6162-05da302711f2@rhsoft.net> Date: Tue, 2 May 2017 20:53:06 +0200 Message-ID: To: "lists@rhsoft.net" Cc: PHP internals Content-Type: multipart/alternative; boundary=94eb2c0ed11edbf644054e8f0cd4 Subject: Re: [PHP-DEV] the experimental jit-branch is impressive From: nikita.ppv@gmail.com (Nikita Popov) --94eb2c0ed11edbf644054e8f0cd4 Content-Type: text/plain; charset=UTF-8 On Tue, May 2, 2017 at 8:12 PM, lists@rhsoft.net wrote: > > > Am 02.05.2017 um 20:02 schrieb Nikita Popov: > >> On Tue, May 2, 2017 at 7:14 PM, lists@rhsoft.net >> > wrote: >> >> and with a demo-page containing all sort of modules and bloat the >> difference is even greater - can't wait to see that in production >> >> is there anything known when it is expected to arrive in the >> official tree or does Zend even hold it back until the point when >> they can suprise with a "we are done, all tests are fine and we can >> merge it" announce? >> >> PHP 7.1: >> Requests per second: 316.77 [#/sec] (mean) >> Time per request: 157.844 [ms] (mean) >> Time per request: 3.157 [ms] (mean, across all concurrent requests) >> Transfer rate: 12604.11 [Kbytes/sec] received >> >> PHP 7.2 JIT: >> Requests per second: 925.96 [#/sec] (mean) >> Time per request: 53.998 [ms] (mean) >> Time per request: 1.080 [ms] (mean, across all concurrent requests) >> Transfer rate: 36842.68 [Kbytes/sec] received >> >> 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 > _______________________________________________ > > phpinfo() of the test machine > > PHP Version 7.1.5RC1 > Build Date May 2 2017 12:19:59 > > This program makes use of the Zend Scripting Language Engine: Zend Engine > v3.1.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache > v7.1.5RC1, Copyright (c) 1999-2017, by Zend Technologies with Xdebug > v2.5.3, Copyright (c) 2002-2017, by Derick Rethans > > Directive Local Value Master Value > opcache.blacklist_filename no value no value > opcache.consistency_checks 0 0 > opcache.dups_fix Off Off > opcache.enable On On > opcache.enable_cli Off Off > opcache.enable_file_override On On > opcache.error_log /var/log/php_error.log /var/log/php_error.log > opcache.fast_shutdown 1 1 > opcache.file_update_protection 2 2 > opcache.force_restart_timeout 180 180 > opcache.huge_code_pages On On > opcache.inherited_hack On On > opcache.interned_strings_buffer 8 8 > opcache.lockfile_path /tmp /tmp > opcache.log_verbosity_level 1 1 > opcache.max_accelerated_files 1000 1000 > opcache.max_file_size 327680 327680 > opcache.max_wasted_percentage 5 5 > opcache.memory_consumption 128 128 > opcache.opt_debug_level 0 0 > opcache.optimization_level 0x7FFFBFFF 0x7FFFBFFF > opcache.preferred_memory_model no value no value > opcache.protect_memory 0 0 > opcache.restrict_api /usr/share/php/zendoptimizer.php > /usr/share/php/zendoptimizer.php > opcache.revalidate_freq 5 5 > opcache.revalidate_path Off Off > opcache.save_comments 0 0 > opcache.use_cwd On On > opcache.validate_permission Off Off > opcache.validate_root Off Off > opcache.validate_timestamps On > You have xdebug enabled... --94eb2c0ed11edbf644054e8f0cd4--