DEV Community

Discussion on: Would a compiled version of PHP be great

Collapse
 
michaelgv profile image
Mike

I’ll echo the words of others: PHP is not slow.

If you create N levels of abstraction, don’t optimize, etc - you’re making it slow. I run PHP infrastructure for my customers, we service an average of 2M unique requests per day per customer, that’s per 1 pave hit, average is 15 complex pages. We do this with a homemade framework, tons of dB queries due to site builder container logic, and hardly cache anything - each machine only uses about 1 GB ram at peak. PHP is not slow, the abstractions are.