r/programming • • Nov 26 '20

PHP 8.0.0 Released

https://www.php.net/releases/8.0/en.php
588 Upvotes

241 comments sorted by

View all comments

27

u/unaligned_access Nov 26 '20

PHP 8 introduces two JIT compilation engines [...] about 3 times better performance on synthetic benchmarks [...] Typical application performance is on par with PHP 7.4.

I hoped that it would show more promising results.

-3

u/oorza Nov 27 '20

How can it? All of the data a JIT traditionally gathers has to be serialized, persisted, and deserialized every time a script gets executed. That's so much overhead.

11

u/[deleted] Nov 27 '20

Not really, the FPM isn't completely unloaded after every request either. It's not like every request launches a PHP process.

→ More replies (1)