๐—ฃ๐—›๐—ฃ ๐—ฅ๐˜‚๐—ป๐˜๐—ถ๐—บ๐—ฒ ๐—•๐—ฒ๐—ป๐—ฐ๐—ต๐—บ๐—ฎ๐—ฟ๐—ธ๐˜€

Stop comparing PHP runtimes with different settings. Many people change versions, JIT settings, or worker counts at once. This makes the results useless.

I isolated one variable. I used the same Symfony code, PHP 8.4, and MySQL 8. I matched the worker count for every test.

Here are the results:

Choose your runtime by your load:

Modern runtimes win by removing bootstrap time. They keep the application in memory. If you do not have bootstrap overhead, FPM stays competitive. It is also simpler to run.

Source: https://dev.to/jefersonguedes/php-fpmjit-vs-frankenphp-worker-vs-swoole-um-benchmark-honesto-com-symfony-2l8f