Live data from Hacker News

Wikipedia on HHVM

hhvm.com

11–20 of 58 posts

Re: Wikipedia on HHVM

#11
The y-axis of the first graph should start at 0. Being more than twice as fast is quite a lot. There is no need for cheap tricks.

If you aren't visualizing tiny deltas, don't truncate the y-axis. It's misleading.

Re: Wikipedia on HHVM

#12

how does HHVM compare to PHP 7 in terms of speed savings? PHP 7 is supposed to be pretty damn fast from what I have seen. I guess benchmarks are hard to read because they're dependent upon a lot of factors. It would be interesting to see two sites at similar scales running competing engines for PHP (hhvm vs. PHP 7).

Minor point of style: We tend to refer to phpng in lowercase, because that's the branch name. Although at this point, since it no longer exists as a branch (it's long since been merged into trunk) and there have been subsequent performance optimisations, the names "PHP 7" or "Zend Engine III" are possibly better. Also, I partly responded to this above: https://news.ycombinator.com/item?id=8848129

TIL, thank you for that.

Re: Wikipedia on HHVM

#13
This is great news to see. I have tested HHVM with our particular application load and I found it to be a bit tricky to tune just right. However PHP 5.6 has been solid in production for us handling 5 billion requests daily.

Re: Wikipedia on HHVM

#14
Hooray! I'm a massive fan of HHVM, though not just because it's so fast: Hack is something I'm really interested in. The collections libraries in the stdlib are brilliant to use, and the static typing makes writing some types of code easier and keeps some bugs out of my codebase. The only thing I wish to see is more editor/IDE support for it, so I helped contribute to hack-sublime and have been writing my own plugin for Komodo Edit/IDE.

HHVM and Hack were the impetus for me to learn OCaml, which is a lovely language. It's good to see more and more places picking up HHVM, and it's also great to see PHP5.6 and 7 increasing performance drastically, too!

Re: Wikipedia on HHVM

#15
Thank you to both Wikipedia and Facebook for being transparent and sharing this back to the open source community. It's these type of joint efforts that really move the web forward. Hats off.

Re: Wikipedia on HHVM

#16
post #9

Earlier quoted context omitted.

I make a point to say "synthetic benchmarks" for such circumstances. It clearly conveys that the benchmark is contrived, likely to demonstrate a particular point, but it avoids the negative connotations.

Ah, that's a good term for it. I like "faked" because it has added humour value (it's rather "ha ha only serious"). Without using a disclaimer around it, though, someone will probably smack me.

Use `fake' in speech, where you can convey more context, and `synthetic' in writing?

Re: Wikipedia on HHVM

#17
post #16

Earlier quoted context omitted.

Ah, that's a good term for it. I like "faked" because it has added humour value (it's rather "ha ha only serious"). Without using a disclaimer around it, though, someone will probably smack me.

Use `fake' in speech, where you can convey more context, and `synthetic' in writing?

I'd say the other way around, honestly. In writing I can stick a * there so it's obvious that there's more to it than it seems. In speech, unless it's explained beforehand, it might not be a good idea.

Re: Wikipedia on HHVM

#18
"Peak CPU utilization dropped from about 70% to 12%, almost a 6x improvement."

That is substantial, and HHVM should bear to rest some of the claims (trolls) that PHP is not performant.

Re: Wikipedia on HHVM

#20
post #6

Earlier quoted context omitted.

> so they're not the only ones who want to maintain it Being completely unaffiliated with Facebook, I think this still counts as 'greater good' for many.

Sure. I'm just saying that they have business motives to do so, it is not merely out of the kindness of their hearts. Though I am sure it is also partly the latter, they have some wonderful engineers. :)

As far as I'm aware, HHVM isn't something that FB is charging for. If that's true, what's the business interest?
Post reply on HN