Hacker News new | ask | show | jobs
by tiffanyh 1342 days ago
PHP vs Ruby in web benchmark across multiple frameworks (and even no use of a framework) linked below.

There’s nearly an entire order of magnitude difference in performance between the best of PHP vs best of Ruby (~400k vs ~50k rps)

https://www.techempower.com/benchmarks/#section=data-r21&l=z...

2 comments

Benchmark is simply incomplete and manipulative. The "best" doesn't even use an ORM, and it's mostly php anyway. Barely any ruby variants.

Also, see https://news.ycombinator.com/item?id=26071181

Is that an apples to apples comparison taking ngx-php vs roda on puma, esp being on ruby 2.7? Would love to see embedded ruby in nginx instead.