ngx-php icon indicating copy to clipboard operation
ngx-php copied to clipboard

Performance benchmark?

Open yellow1912 opened this issue 5 years ago • 1 comments

First of all, fantastic work. I have been using nginx lua module for a long time, but I'm more familiar with PHP so it would be great to use PHP. Since nginx is all about performance, I wonder how this module performs? Also, with the new PHP JIT (8.0), can we take advantage of JIT just like lua jit?

yellow1912 avatar Feb 09 '21 02:02 yellow1912

The last benchmark from techempower:

Comparing only php-ngx vs OpenRestry Using php7.4 without JIT, the next week we will try with php8 and JIT.

https://www.techempower.com/benchmarks/#section=data-r20&hw=ph&test=fortune&p=zik073-zik0zj-zik0zj-zg24n3-1ekf&c=1

Captura de pantalla_área-de-selección_20210209125037

Captura de pantalla_área-de-selección_20210209125059 At 128 concurrent connections OpenRestry don't scale more.

joanhey avatar Feb 09 '21 11:02 joanhey