Hi,
I am using WordPress.
Based on many online posts, such as [
wp-rocket.me...] and [
kinsta.com...] benchmarks-2023, PHP 8.1 is much faster than 7.4
So I just swtich from PHP 7.4 to 8.1.
However, based on my test with following command:
ab -n 1000 -c 15 https://www.example.com/
Actuall PHP 8.1 is a bit slower. It takes 1.273 seconds to complete the test. While with 7.4, it only takes 1.146 seconds.
Also in WordPress, I install Query Monitor, and it repeatedly report "deprecated function" error, which may also slower the operation.
Why? Do I miss something or do something wrong?