3 ms·
If you're serving only json snippets from memory and might have hundreds of simultaneous users, yes! If you have existing sites built with it which work fine,
by grey-area 14y ago
If you're serving only json snippets from memory and might have hundreds of simultaneous users, yes!
If you have existing sites built with it which work fine, then this benchmark doesn't tell you a great deal other than that php is relatively slow, and frameworks built upon it slower. For many websites which have a caching strategy sitting behind a server like apache or nginx and less than a few thousand users a day, this really doesn't matter, and other things like features are more important. This hlds even for bigger site too - Facebook for example still runs PHP (compiled to one big binary). Personally I wouldn't use PHP because of the language/std lib but this sort of performance shoot-out should not put you off it.