Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Performance benchmark of PHP runtimes From Dzmitry Kazbiarovich

Dzmitry Kazbiarovich has posted an interesting article titled Performance benchmark of PHP runtimes on Dev.to. I wanted to link off to the article so I don't forget about it, and to share the most interesting results that I saw, comparing FrankenPHP (worker mode)(1), vs Nginx unit (2), and "stock" PHP with FPM (2).

Requests Per Second

Average Response Time

I have not yet spent the time to reproduce the results, and someone has already posted some additional information in the comments about how the roadrunner benchmarks were made, but I find it interesting because it shows the performance of the new FrankenPHP I've heard about, as well as Nginx unit that I had not heard about until reading this (unfortunately I find that I'm often late to the game). The performance shown in this report definitely makes me think it's worth spending the time to become more familiar these two technologies.

Last updated: 22nd January 2024
First published: 22nd January 2024

This blog is created by Stuart Page

I'm a freelance web developer and technology consultant based in Surrey, UK, with over 10 years experience in web development, DevOps, Linux Administration, and IT solutions.

Need support with your infrastructure or web services?

Get in touch