3 ms·
That is a bit misleading: Let me explain... #11 in Single Query is: Swoole, PHP, mySQL Swoole => Not default PHP but a highly specialized framework Single Que
by oaiey 7y ago
That is a bit misleading: Let me explain...
#11 in Single Query is: Swoole, PHP, mySQL
Swoole => Not default PHP but a highly specialized framework
Single Query => This is not about fast language/runtime but fast DB driver
While still definitely impressive, Techempower Plaintext is more specific (runtime + http server). Here Swoole/PHP is #60. The Swoole/PHP mysql driver (that is not default PHP mysql driver) is very optimized compared to e.g. the .NET Core postgreSQL driver. The result => Swoole/PHP is wicked fast (~ 15% delta) but .NET Core beats Swoole/PHP Plaintext (~ 75% delta).
Plain traditional PHP is not one of the fastest language/runtime. But Swoole is a wicked fast framework.
Good thing however: Indeed, the JIT will improve the PHP language/runtime. And Swoole shows what is possible if you make some radical design decisions (same what happened with .NET). And this is good for PHP.