And no, php7 isnt quite as fast as hhvm still. Statistics have revealed php7 to be lagging behind by about 18~40% compared to HHVM.
How XenForo creates templates and populates templates variables, is probably one of the worst things todo. It forces HHVM to invalidate a lot of assumptions which it uses to generate fast code.Perhaps it's time xenforo optimizes itself for HHVM?
What statistics? I would be quite surprised if PHP 7 lagged behind HHVM by 40% running XF. In some of the benchmarks here PHP 7 even outperforms HHVM (Drupal 8, phpBB, OpenCart, Traq): PHP (March 2015). HHVM is about ~12% faster for WP 4.1.
I guess we can't say for sure until someone does some proper testing. PHP 7 might even perform better than HHVM - who knows
Not on any recent version as far as I know.Has anyone actually documented where specifically XenForo falls over on hhvm?
Has anyone actually documented where specifically XenForo falls over on hhvm?
Just whacked up a test instance of HHVM on Debian Jessie (HHVM 3.8.0). Can't see any obvious issues. Only using the resource manager + normal xenforo.Not on any recent version as far as I know.
Yeah we've just been discussing this, the crux of the issue is that ZendFramework + XenForo is a gigantic thing for the JIT to go through. You can also supposedly manually create a HipHop precompile of all your php files, maybe I'll try that. Result would probably be very large, even more so because that approach would compile even the unused php stuffs.HHVM may need to be warmed up before it starts receiving requests. There's some discussion here: Using Warmup requests and Warmup docs · Issue #5312 · facebook/hhvm · GitHub
Exactly lol. Things just fall apart, 100% CPU usage. It's not pretty compared to what I experience with my wordpress running on HHVM...Yeah we've just been discussing this, the crux of the issue is that ZendFramework + XenForo is a gigantic thing for the JIT to go through. You can also supposedly manually create a HipHop precompile of all your php files, maybe I'll try that. Result would probably be very large, even more so because that approach would compile even the unused php stuffs.
Yeah PHP 7 here we come I guess.Exactly lol. Things just fall apart, 100% CPU usage. It's not pretty compared to what I experience with my wordpress running on HHVM...
We use essential cookies to make this site work, and optional cookies to enhance your experience.