3 ms·
Yeah one could use https://github.com/walkor/workerman https://github.com/walkor/workerman for PHP and it would probably beat all other frameworks in the graph.
by hu3 2y ago
Yeah one could use https://github.com/walkor/workerman https://github.com/walkor/workerman for PHP and it would probably beat all other frameworks in the graph.
Would it be a representative experience compared to PHP? No, because that's not would be used in an average scenario.
- neonsunset 2y agoIt would still be slower :P At least once you start "gaming" benchmarks interpreted and/or dynamically typed languages have a strict ceiling they can't really surpass (just.js doesn't count as it's as thin wrapper on top of C as it can get) https://www.techempower.com/benchmarks/#hw=ph&test=fortune§ion=data-r22 https://www.techempower.com/benchmarks/#hw=ph&test=fortune&s... (all top entries are bottlenecked by DB driver implementation and its ability to multiplex queries, and context switching cost, so those frameworks which can do perfect static partitioning and query multiplexing win out)