Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121113 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 58073 invoked from network); 21 Sep 2023 09:37:31 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 Sep 2023 09:37:31 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0630918004A for ; Thu, 21 Sep 2023 02:37:31 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 21 Sep 2023 02:37:30 -0700 (PDT) Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-503056c8195so1381445e87.1 for ; Thu, 21 Sep 2023 02:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695289049; x=1695893849; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pZDmpKiCd2EOuWCWZJFvCozX5lgvBh6LZFZy63cWjDw=; b=HNdLVKRiwZ6SzLu38Ek94YQOu4Gqge+/3gkRAIifsPtTN6cO2BDrSMEaMbtK4RgLtJ R4BEDtJAXIgRRsPkpB7pX+ZpiYk1ii9viXdZeOrucrbCHi2kdwShTj2ZQH5a38zjTdS+ qFQCBWrwLC62FCKNyKt5PXVFh1rDxHv9l8YlRRsDpl7KxH3iC/WE+Js26VwWf3D82sEE aO7yU88LES1AOiRGRULmFsY6tEuUL6BPVlI3dgGu9WiQ01eKuPbS3qtJheSIP9b8Dwwh sLxcBlfXpXid5z81/TLtKevHYsyPTAWkkcucJrESn6PWP7XyzeRUxTUbXvAMcjnxk54R wP4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695289049; x=1695893849; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pZDmpKiCd2EOuWCWZJFvCozX5lgvBh6LZFZy63cWjDw=; b=HPMLrFN/pnAO0NI7KfA2UgN5ZVPLHOLtdjbdgKypoE+vNsXwOQmU9zRF2b+b3RKw3z Oihq4TXDSi+VG3GvnmWDZEcdHxmfPwYekv9o98qV7KPAnOIzj5Ycp2MzNkGk3fc7ByCu AIEkfULIuGTeEFP7bNFprwAW4+Qb+RLx+81p2O489AvUSBInVe7nOqkIGqEgJ4Er6uSL Kl8ycQhsCHMOm2KBq1J84mrNst+tzeO6BUZIaK2+7H9VMxG6gZL23UJl9YjKdgLu05Ur t86YWV0vh/TMBMmadYBCigOJjYj1mt7qb8NfFbDwC4WmtmnFFIKdut6GOaWjukWus4Ya FiKg== X-Gm-Message-State: AOJu0YyTkmUPls/82TFZkfifL11ig1Sh0f2YjzMDOnbQfthjGsFQgo3W EV2mVQ1k3uN6XlO36tizfwEFgUag5RCk4hzaywaoP6VBu74= X-Google-Smtp-Source: AGHT+IGmwz4rFylpoYH0DdsQBkx9pyHIzLE+QerskuSUxrQ6IjtktpUiJ+hYU7+YCMAL8MHjH9FBo4dIe5AtQO0iqCY= X-Received: by 2002:a05:6512:251e:b0:503:2d9a:ff29 with SMTP id be30-20020a056512251e00b005032d9aff29mr4859292lfb.16.1695289048414; Thu, 21 Sep 2023 02:37:28 -0700 (PDT) MIME-Version: 1.0 References: <870edf55-b1e8-4ccd-98d4-8dd4e3131633@php.net> In-Reply-To: <870edf55-b1e8-4ccd-98d4-8dd4e3131633@php.net> Date: Thu, 21 Sep 2023 12:37:17 +0300 Message-ID: To: Sebastian Bergmann Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="00000000000085c0cc0605db3d1f" Subject: Re: [PHP-DEV] [RFC] [Discussion] A new JIT implementation based on IR Framework From: dmitrystogov@gmail.com (Dmitry Stogov) --00000000000085c0cc0605db3d1f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Sebastian, On Thu, Sep 21, 2023 at 12:22=E2=80=AFPM Sebastian Bergmann wrote: > Am 21.09.2023 um 11:13 schrieb Tim D=C3=BCsterhus: > > Thank you. I find it important to follow the formal process, even if > many > > folks are not able to make a meaningful decision due to the lack of > > knowledge about the topic. This includes me. > > I'm in the same boat. > > > My understanding is that even if the new JIT might not (yet) be better > > than the old one, it is not worse and it is more maintainable. The > > reactions from more knowledgeable folks were pretty positive overall. > > That is my understanding as well. > > > So if the new JIT passes the existing test suite without issues, I don'= t > > see a reason why the old JIT should not be replaced right away. By > > immediately removing the old JIT (ideally in a separate commit) the > > codebase is cleaned up and users that want to test PHP 8.4 (or whatever > > that version may be in the end) will be forced to also test the new JIT > > which is probably a good thing. > > I agree. > > As a sidenote: most of the teams that I work with use PHP 8 in production= . > However, none of them use the current JIT. It either caused problems > (especially during early PHP 8.0 versions), or does not bring any > significant performance improvement. Against that backdrop, I would be > interested in whether you, Dmitry or Zend, can share some insight from > real-world usage of the JIT. > I still don't recommend using JIT for production without serious testing and benchmarking for each concrete case. If you see less than 5% speedup - you probably don't need JIT; if an AMPHP bsed server becomes 1.5 times faster it's a different story. Thanks. Dmitry. > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > --00000000000085c0cc0605db3d1f--