Re: What's the status of the JIT?

From: Date: Mon, 17 Nov 2025 11:00:03 +0000
Subject: Re: What's the status of the JIT?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-129279@lists.php.net to get a copy of this message
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 am Brent Roose, <brent.roose@jetbrains.com> 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 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 gain from the JIT in web applications or in > 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 future > PHP version? To be clear, I'm assuming the JIT impacts internal development > — maybe that's wrong? Perhaps I'm missing a real-life use case that > 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=qytMIVxt0oTC3b1F&t=1057 > [4] https://www.youtube.com/watch?v=5ResKrAnpBw >

« previous php.internals (#129279) next »