WordPress Developer vs LAMP PHP 7.4
Everywhere on the net they claim, and I believe it PHP 7.4 is faster than PHP 7.3.
So I was, yeah you know Cloudron WordPress (Developer) use PHP 7.3 let's try to spin my own WordPress under LAMP which have PHP 7.4.
I deployed 2 news instances of the apps before starting the test, so none of these containers have technically more CPU/MEM available.
Based on GTmetrix
Surprisingly WordPress (Developer), with PHP 7.3, have a Fully Loaded Time of 2.1s. while WordPress (LAMP) with PHP 7.4, have a Fully Loaded Time of 2.8s. It would be probably event faster is the favicon wasn't missing.
The Waterfall Chart
PHP 7.4 (WordPress under LAMP container)
PHP 7.3 (WordPress Developer container)
The major difference is at the first query, WordPress Developer take 200ms to answer. It is only cause by PHPmyAdmin which is running only inside the LAMP container?
While I understand PHP 7.4 is new and keeping a version behind is good for compatibility and avoiding issue; I would be curious to understand why or what are the optimization for WordPress Developer ?
@JOduMonT WordPress (Developer) uses PHP 7.4 as well. So, the difference is probably coming from elsewhere. The stacks are pretty much the same. Maybe some configuration of WordPress is affecting the speed.
Lonk last edited by
@JOduMonT Redis is pretty great, and it's included as part of LAMP so you could test it in the same conditions and try your benchmarks again. ️