Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103982 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 96900 invoked from network); 1 Feb 2019 15:29:22 -0000 Received: from unknown (HELO mail-io1-f52.google.com) (209.85.166.52) by pb1.pair.com with SMTP; 1 Feb 2019 15:29:22 -0000 Received: by mail-io1-f52.google.com with SMTP id s22so5477249ioc.8 for ; Fri, 01 Feb 2019 04:09:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W6q5sOtmgLRyj+BQFB4c33VBVS8g0M3P8pnFN/OFEn8=; b=GaD5Zf9KeuduUqmUcMg0cnTWGZqhBXSWR/LL3n424SaaqLVIE/OKHT4fi2bNcPaax2 mBxzV50jXKWTxYhQzgnMX/Douw2u68NDsUDT39maz0poYJVJe+rw+q3rNppBHplKEmlp 4jH8XJMycKJCmVrhwKbIrdUtCwSQ+xYbtWar6FUWI1XqSvR4tG7a8tUJ+WK993UfNX15 I29MX0LisCiOn03eBsfboSymGxLTTrp3VbIGCC5WZlDna+Om4LHy9SqsubS1DJ4X7McD /on/3dDOv0r1WfQC0D1d/Ab5m1+X0AI907hPHWPus8atTzTyo/MUn90O6kjUN4Yrgkgx SFlg== 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=W6q5sOtmgLRyj+BQFB4c33VBVS8g0M3P8pnFN/OFEn8=; b=nivA7/zlyvUT6ATM1ZBfkim90/O6j8L/24CyAwFcTwsVlaAMAahQdSDFzAYy65BmqP MNcJZePUIuk8ZOX02tQ7CVQ4g9WilyWlSybRldlrNFE3Mqwall63o7g8w8DeU5ae4VnC gkBSJfzae1XQ9D/qK4sw+T6k0Io8+wRHMsvFWUha4zWvmMdTvfmmvQBFGuqRnT+nstEc eeYpM9Lkani9T6v3cZwlPbnDbr5qhFsI4vN0qMIN41MDLAtCEW5UBwGYTaLkCVyQ5QJu 1hOyqRlUhG1o9L3qMEf1AtcJUcLVkHtNfik0BnHKdbLNXknPYwZ7YKKX9ElM33ptr6Zo bptQ== X-Gm-Message-State: AHQUAuYMb/xq+9c5wCTumUpYE7BcVtw+aWQkkhb7GL5fi6OV6xRDuQoG q7TyKqTo33n6F9p6pnx//PpohDQZh1vh69GW37o= X-Google-Smtp-Source: AHgI3IarHH6GyadV2btbt69895yF1E/vfQEyGb0F/zppY+9n4w6UbIGQaePKaLVYuAoKlfjReRCiVFo9GXMh7NW6WhY= X-Received: by 2002:a5e:aa06:: with SMTP id s6mr22681391ioe.187.1549022969528; Fri, 01 Feb 2019 04:09:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 1 Feb 2019 13:09:12 +0100 Message-ID: To: Dmitry Stogov Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000d90a350580d4039b" Subject: Re: [PHP-DEV] [RFC] JIT From: nikita.ppv@gmail.com (Nikita Popov) --000000000000d90a350580d4039b Content-Type: text/plain; charset="UTF-8" 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. > > > Thanks. Dmitry. > I would like to check if the JIT provides an improvement for PHP-Parser. Unfortunately I'm getting a segfault when running the tests. Should be reproducible with git clone git@github.com:nikic/PHP-Parser.git cd PHP-Parser composer install php-jit vendor/bin/phpunit I tried to debug this. Unfortunately my gdb doesn't seem to work with JIT: It hangs when the script starts running, on line Zend/zend_gdb.c:84 in zend_gdb_register_code. I don't know if that's a bug or I need to do something additional here (I'm using GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git). Nikita --000000000000d90a350580d4039b--