3 ms·
I was honestly surprised how well PHP7 fared against HHVM. No JIT, and likely a much smaller team and budget. Most of the comparisons I've seen show them as r
by tyingq 10y ago
I was honestly surprised how well PHP7 fared against HHVM. No JIT, and likely a much smaller team and budget. Most of the comparisons I've seen show them as roughly the same performance.
- kyriakos 10y agoUnless HHVM team does something surprisingly good with their next version PHP 8 will surpass it in performance for sure considering it will have JIT and probably other bells and whistles. On the other hand the HHVM team had to reimplement a lot more code that php 7 had ready from 5.6.
- noir_lord 10y agoPHP7 was a huge performance leap over 5.x, I saw all the benchmarks and they looked impressive (100% performance, 50-80% reduction in memory usage) and expected the usual "Ok but in the real world I'll get maybe 10-20% because benchmarks" and nope, in production I see exactly what the 5 vs 7 benchmarks show. The memory reductions when dealing with large arrays (pretty much the only datatype in PHP...) are colossal.
- fooyc 10y ago> arrays (pretty much the only datatype in PHP...) linked-hash-map-arrays, they are :)
- rurban 10y agophp7 got rid of all the refcounting overhead while hhvm still have to decide when it can turn it off. php7 reduced all its data structures significantly. nowadays slimmer data structures are much more important than cpu.