Live data from Hacker News

HipHop VM: now at 98.5% PHP framework parity, 16% faster

hhvm.com

1–10 of 112 posts

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#3
post #2

I'm not sure I understand. Is this the framework that "compiles" PHP? Is the 15% performance increase relative to vanilla PHP or to a previous version of HHVM?

HHVM is a JIT engine for PHP code. The performance increase in relative to the previous release of HHVM.

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#4
post #2

I'm not sure I understand. Is this the framework that "compiles" PHP? Is the 15% performance increase relative to vanilla PHP or to a previous version of HHVM?

HipHop was the PHP -> C++ compiler. HHVM is a JIT-compiled implementation of PHP.

The 15% increase is relative to HHVM at the beginning of the 3-week sprint they just completed. HHVM was already far faster than vanilla PHP when it was first publicly announced over a year ago.

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#7
With the recent discussion on the origins of PHP function names, and about what, if anything, can be done to fix PHP without ruining it...I'm curious about what happens at Facebook. Besides HipHop, do they maintain a strict PHP style among their developers? Even if HipHop can handle all of PHPs variations, I imagine there's time saved by writing optimally-designed (for the human) code, too?

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#9

Other than Facebook, does anybody have HipHop running in production? Any big caveats?

Me! Yeah, it's not 100% compatible, so my app runs all it's tests on HHVM to make sure I haven't run into any edge cases, which hasn't been an issue. I get more mileage out of my smallish VPS from it, with no effort on my part other than knowing what frameworks don't work (very very few now) and testing before deploying to staging (as you should be anyway).

I'm pretty happy with it. Is it worth it? Well, if you've got a test suite, run it through HHVM to see if you'll have any issues. If the answer is no, then why turn down free performance :)

Re: HipHop VM: now at 98.5% PHP framework parity, 16% faster

#10
post #2

I'm not sure I understand. Is this the framework that "compiles" PHP? Is the 15% performance increase relative to vanilla PHP or to a previous version of HHVM?

HipHop was the PHP -> C++ compiler. HHVM is a JIT-compiled implementation of PHP. The 15% increase is relative to HHVM at the beginning of the 3-week sprint they just completed. HHVM was already far faster than vanilla PHP when it was first publicly announced over a year ago.

That's more interesting. How much faster is hhvm overall?
Post reply on HN