PHP performance across versions

Do you need a reason besides awesome syntax to update to the latest PHP version? Is performance a good one?

I did some casual benchmarks on a WordPress installation from PHP 5.6 to PHP 8.1, here are the results:

Noticed a tpyo? You can submit a PR to fix it. If you want to stay up to date about what's happening on this blog, you can subscribe to my mailing list: send an email to, and I'll add you to the list.