Thread:Talk:Release Management RFP/NicheWork and Hallo Welt!/Release Management and Visual Editor/reply (10)

After I went looking for benchmarks, I came across the one you probably meant when you said that. You'll find some benchmarks saying PHP is an order of magnitude slower when were talking about both languages performing the same operation 1,000,000 times in under one second. For most people running MW, these benchmarks are meaningless -- both ran more times than they need in under a second and the PHP version is easier to install on their webserver. For a site like WMF, though, these things make a big difference.

But you can also find benchmarks where PHP performs 50x faster than v8 because the PHP is using code written in C underneath.

Shootouts like this which are simply mathematical computations run multiple times are meaningless, though. Lets see how fast code written to do something we want done performs in each language.

If v8 is still better, then maybe we can skip node.js and just run the javascript the way we handle Scribunto: in a PHP module.