Re:Speculation in JavaScriptCore
by pizlonator on Wednesday July 29, 2020 @04:59PM
(#23991540)
I feel like I can almost visualize the killshot slides that the HipHop and HHVM folks used to show the extent to which PHP can be CPU bound and the extent to which server idle time can be increased by using speculative compilation tricks on PHP.
So, I think it is cpu bound for at least some people.
Versus PHP5.x that's true. Mostly because the PHP internals were inefficient. The performance differences vs HHVM vanished with PHP 7.x.
Re:Speculation in JavaScriptCore
by jashmatthews on Wednesday July 29, 2020 @08:02PM
(#23992900)
HHVM's 2nd generation region based JIT performs enormously better than PHP7.x in places where dynamic languages don't perform so well but PHP7.x has the clear lead when benchmarking large apps like WordPress.
I get where the "rooting for the underdog" feeling comes from, but it still feels good that the relatively small and underfunded PHP team mostly beat Facebook here. I like to imagine there is some internal debate at FB on whether to just go back to mainline PHP and kill HHVM. Especially with a credible JIT coming.
... cause it's I/O bound? Just curious.