Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104144 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 19554 invoked from network); 5 Feb 2019 02:08:09 -0000 Received: from unknown (HELO mail-lj1-f175.google.com) (209.85.208.175) by pb1.pair.com with SMTP; 5 Feb 2019 02:08:09 -0000 Received: by mail-lj1-f175.google.com with SMTP id t18-v6so1334334ljd.4 for ; Mon, 04 Feb 2019 14:49:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fOBZTUvH8GPSp+fIUULkA/gdu3DXPdoBHw53YZY3rns=; b=C7wVurVsk52ewDI4B3wVzlHaJPqdad9AidLA89+zd/mKPZ2k6d4eRBuJzzzblZs6fK kWo/cjytG0ih0+tFVUTbpszGalth+tpbZ+ujz8mTAs9w9cAGGeMh7T45PI05F8NpGRt0 1wZAuwh3w7YHqqJZG/XCiUk9/UATHAzzaQU84p9P9a8HHfeL6vOQFck7XWNqrK9EkOhU S7labLLlDNEGtjMAT/+z9DoLju2S6EzjPw3yVMQ4N/HDy/Dmwic04Mb72BTJ6x3uqYBw gLOEQfFRLrkNGIb4l921gU0WvlhqGZN6zT5zgc638izT/aFMORtWAn1m0il5BG6Op7Yp DZjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fOBZTUvH8GPSp+fIUULkA/gdu3DXPdoBHw53YZY3rns=; b=sRbmMI0n4sT3x2AFM0npDRNtvyurAZwGLwncgterKuWGObJvFzi6ytTnYBJpIYkjwQ sdGGbJdsrjfOPw+321zQDGkK4etUQC2cEcXz5k3MvtVof88GufQmdYjf/Z8KjZtAuWdr bRiCtbu9Cfcp7OS6KhDMgI0gT/TXZenZH3eEdGvBXmiCZW1uUOHmQFHI2GBu/UTt0PVy JU11lA1xAC/k3ckUW9feWvHJ5YQkv+U5u5AsYFNNxn/Y2PBiJcsJoE2ww+1SfwMiEr4b /Wk6t7iq6Gj/RCJNcSrJWBVeHOQafIBWbg0wepOgvTFbd6JEpMTm8arPjrtE3Fjibb+M edHg== X-Gm-Message-State: AHQUAubQbKT12p8NcBc8GEq0wEJG4c1EZ+MAMbn4+OPPXZ0bJsbwF57B EWB38Arq3hhzeil1MwsJO5KtgFjNS+ntHZ6Jq1/5O8Jb9ZY= X-Google-Smtp-Source: AHgI3IZXzRb4OzMlF0eAvyleFmq0lTrpcnOoInarD5/SxEDy/iGEdd70+bRObGbdWCuDfek/KXOYzMRFfn43NEl5R7g= X-Received: by 2002:a2e:2b8d:: with SMTP id r13-v6mr901983ljr.79.1549320547828; Mon, 04 Feb 2019 14:49:07 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 4 Feb 2019 23:48:55 +0100 Message-ID: To: Dmitry Stogov Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000e5acd90581194cd3" Subject: Re: [PHP-DEV] [RFC] JIT From: kontakt@beberlei.de (Benjamin Eberlei) --000000000000e5acd90581194cd3 Content-Type: text/plain; charset="UTF-8" On Mon, Feb 4, 2019 at 10:29 PM Benjamin Eberlei wrote: > > > On Thu, Jan 31, 2019 at 10:44 AM Dmitry Stogov wrote: > >> Hi Internals, >> >> >> I'm glad to finally propose including JIT into PHP. >> >> >> https://wiki.php.net/rfc/jit >> >> >> In the current state it may be included both into PHP-8, where we are >> going to continue active improvement, and into PHP-7.4, as an experimental >> feature. >> > > Can you give some information on if there are pre-conditions that must > hold for a function to be jitted, or quit conditions that force the JIT to > be reverted for a function? In addition, it would be helpful for testing if > there was a way to find out if a function was jitted, maybe through > ReflectionMethod/Function or opcache_get_status() ? > And as a follow up, the JIT seems to affect zend_execute_ex and zend_execute_internal based profiling (tested with tideways_xhprof) in a way that all Jitted functions are not called through those two hooks anymore, and don't appear in profiling data anymore. Is that a correct description? The number of parent=>child call entries drops from 88 to 12 in my sample code when jit is activated. Is that a desired side-effect? > >> >> Thanks. Dmitry. >> > --000000000000e5acd90581194cd3--