Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129279 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 6CCAF1A00BC for ; Mon, 17 Nov 2025 11:00:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1763377234; bh=e5uMwK/jrZ1RokFGbactNETg2gET28u1Lvb11CIFaME=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=NL9MoCjPC8y3XtW0AEtTxl2YoeKZe5CeSwLu2oUy3LdyQ1j4B5blTym+/mpWplNpK UwZAwPwLiJsT2Crxwi7Ii5riQgv/nQNgFp1+OSyUjagXJiv0MLN9ej9NLFZqkuzM/R /bIq4vYfIK42QRKP4VjuqSjpFs78syZeJqvN2csAaONUGI3KrxMVVQ3D0sRXrpDzIN F+xLrIHFfJ+5PfzDqNCQ3ChUCyWQAUbyKx/MpCsWyUIMPLwjvDQBjhgBOHMqYXLx5+ CrMH+wvo++Kz2FxQ/WLBQf86NNIWyslBJYNn/1V2YzN3KSsiaZQVQYrOwrp+G2uxOR t7JPZmSm1Ig8Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 51B5218004C for ; Mon, 17 Nov 2025 11:00:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 17 Nov 2025 11:00:25 +0000 (UTC) Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-5943b62c47dso3972238e87.1 for ; Mon, 17 Nov 2025 03:00:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763377219; x=1763982019; 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=e5uMwK/jrZ1RokFGbactNETg2gET28u1Lvb11CIFaME=; b=Xuy00k4E6KFIE58qcikcC+l7h/tVGS0mSQcZ7SP+k1ayvJi0bvlezuFB5R9IvNf7j3 g7OS5HFVaIKZRaEKYZHHhgmwH53GDz+0J5FObKkpnYJOT6anXj9NwInUrZHRlhYx0TqH TAjqY2xazIrJHFzpxwDQOaRu8UME+CmdnBKwTc9NtKsSuScOkbztKfbB2q8SwgnjF5OK o8+cHgNx0cON2fnb4/DXrH0GVbGguD0rEdqJmxrnhzlvHU9ZvIrck7Mqm6W1C/q7lBiH RFXKKwk+id/EsZClsIWJmJOoNVej0Zn8Gnk6Z/34dS6vlbAMiOIAWTyxCKFPmrIcA+Pa vRvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763377219; x=1763982019; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=e5uMwK/jrZ1RokFGbactNETg2gET28u1Lvb11CIFaME=; b=rzKo+4Dg3W7uE/EWyNO1w1P5lyRNsmOb5wprer4iCU7bChlr5rMIixhIzqRrm/z7e8 HwdjIMGk9s5H4JO4Dobay+ai9yt7ebH5T9p0SQxR3hD0qaueXOLaGiEkIkng4iPZ4hVU T+PCFXMPAJ9fz8iH7F6ZNiEfRkQTUfGgrnuNgF08+mneSHCvt3m+ZzKHptdQWczeIBcY aDzF5rh3uyegKVZPDKswq3rQ9I9mFb//dGIv+eThCdMsYZMim/RftjFzQKIEqbVjgk7v YX5uCBhVXRA3xfYLBnI71JEJWAHyHyTWBZsadN8HjEQAIHePjmZC8i1am5KJ48Y0dl5S uYRg== X-Gm-Message-State: AOJu0Yyu/TEN8urZMn0+R7gfj6ShHJkDTftcuyb3aQKS0wtIAM+IaMW+ yYDvNAcclLA9tpvagZBWjU0Zcrpd3/0mQA+ihO2rO6gamuIACNj47W+APKgmdFsrJVxKmO5U8Wz HGpO4jT1Pmx39NcIBjuVSm5V0NV21MlQ= X-Gm-Gg: ASbGncu17cPyhcQYJp0qKOuIFfIbiv0qkCs824VBZv9YypxzbdcrNMM+uXv4LKU6nBl fC5MvPOC9Bxc+ArezUISPgl40bxZYY9tr8pjuRwzsLVmZ1x7bvcIPoYfpgz4hZBV+efXfINW8cD zNtslsaGTnV87+NrR/xudTtl2fqQ63j2CSAunueD70BEhAvh82ReRoW++BmVoDF2IOqyJkDNo4O ALzX9ersbx4RH3XnTGDOBw1Ol5MvSNIHZ+0C8FQOtvYQQCV0/VK+m6mLXEFVzJU7jJHYs9VNaPJ si3xo1FBeg== X-Google-Smtp-Source: AGHT+IG2Sq4txLXZpA6ed/yjv5kcBMEU3Z23YqT26xa4/2yax3mo4zLIfucWI8lDqc0YliAsYmzmt+Rtd86+wro7M74= X-Received: by 2002:a05:6512:3e03:b0:594:5236:283f with SMTP id 2adb3069b0e04-595841a2a89mr3511577e87.9.1763377218286; Mon, 17 Nov 2025 03:00:18 -0800 (PST) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 17 Nov 2025 12:00:03 +0100 X-Gm-Features: AWmQ_bkh1gnHj722xUhEI38fG3VSSlIEmomtbwJcOs83vk5siDh1qFlRvSpji1U Message-ID: Subject: Re: [PHP-DEV] What's the status of the JIT? To: Brent Roose Cc: PHP Internals Content-Type: multipart/alternative; boundary="000000000000b379460643c8401a" From: oladoyinbov@gmail.com (Oladoyinbo Vincent) --000000000000b379460643c8401a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi brent, your mail went straight to spam, i don't really know the cause but most people were unable to see this issue. Kindly restructure the message and resend. On Fri, 14 Nov 2025, 10:49=E2=80=AFam Brent Roose, wrote: > Hi internals > > I'm wondering about the state of PHP's JIT these days. I understand that > Dmitry is still working on his standalone JIT IR framework [1] that's bei= ng > used by PHP, and that Arnaud is maintaining it from the Foundation/PHP > side? In my own benchmarks, done in PHP 8.0 and PHP 8.4; I cannot seem to > get any meaningful performance gain from the JIT in web applications or i= n > tools like PHPStan. [2][3][4] > > The question I'm left with is whether the JIT is worth the hassle? > Assuming the JIT's existence impacts the complexity of internal > development, I wonder if it wouldn't be better to deprecate it in a futur= e > PHP version? To be clear, I'm assuming the JIT impacts internal developme= nt > =E2=80=94 maybe that's wrong? Perhaps I'm missing a real-life use case th= at > benefits significantly from the JIT as well? > > Kind regards > Brent > > [1] https://github.com/dstogov/ir > [2] https://stitcher.io/blog/jit-in-real-life-web-applications > [3] https://youtu.be/2Njl1ZiCXIk?si=3DqytMIVxt0oTC3b1F&t=3D1057 > [4] https://www.youtube.com/watch?v=3D5ResKrAnpBw > --000000000000b379460643c8401a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi brent, your mail went straight to spam, i don't re= ally know the cause but most people were unable to see this issue.

Kindly restructure the message and re= send.

On Fri, 14 Nov 2025, 10:49=E2=80=AFam Brent Roose, <brent.roose@jetbrains.com> wro= te:
Hi internals

I'm wondering about the state of PHP= 's JIT these days. I understand that Dmitry is still working on his sta= ndalone JIT IR framework [1] that's being used by PHP, and that Arnaud = is maintaining it from the Foundation/PHP side? In my own benchmarks, done = in PHP 8.0 and PHP 8.4; I cannot seem to get any meaningful performance gai= n from the JIT in web applications or in tools like PHPStan.=C2=A0[2][3][4]=

The question I'm left with is whether the JIT= is worth the hassle? Assuming the JIT's existence impacts the complexi= ty of internal development, I wonder if it wouldn't be better to deprec= ate it in a future PHP version? To be clear, I'm assuming the JIT impac= ts internal development =E2=80=94 maybe that's wrong? Perhaps I'm m= issing a real-life use case that benefits significantly from the JIT as wel= l?

Kind regards
Brent
--000000000000b379460643c8401a--