Hacker News new | ask | show | jobs
by duke360 3398 days ago
<3 this! any idea on when it will be production-ready?
2 comments

What's the benefit over running a standard PHP-Interpreter?

Haven't used PHP or WordPress since 2010 so I might have missed something but to me this looks more like a tech demo then something one would use in a production environment.

I remember from the PHP on Java that there were huge performance benefits. So large PHP hosts should see benefits.
Currently there are few microbenchmarks on http://www.peachpie.io/benchmarks Expecting to be updated soon
PHP 7 improved performance by around 3x compared to PHP5, so I wonder how true that still is.
The benchmarks http://www.peachpie.io/benchmarks show peachpie outperforming PHP7 easily by 100x.
For some of the operations highlighted, which are (naturally?) selected to impress. For others, the multiple is in single digits.

WordPress doesn't run 100X faster on Peachpie, but it'd be very interesting to see "real" benchmarks. Even a 2X improvement (vs the latest PHP 7, of course) would be compelling.

On Azure, without Opcache enabled. That's not a very good comparison.
I would strongly suspect that the fact it's without opcache by itself makes it pretty much meaningless for any kind of a real-world application.
Yes, and look at the avg response times. It looks likely that the webserver can't handle the load. The number of concurrent requests should be limited.
While I do know that Azure is owned by Microsoft I'm not so sure on why it's such a valid argument.

In the end it's not like they're actively trying to ruin languages other than C# on their servers? Especially since that would ruin it for a lot of customers?

Unfortunately those benchmarks don't compare against HHVM :/.
We will produce these benchmarks soon, but HHVM is pretty difficult to configure and we have not focused on optimizing our compiler much yet, so the performance is likely to change drastically over the coming months.
a few comments above said php7 was running without opcode cache, hhvm is even more about caching setups than php7...
Tried the TechEmpower plaintext benchmark using Peachpie: Requests/sec: 305,612.35

https://github.com/benaadams/PeachpieBenchmarks

Hard to say. We want to test it thoroughly before releasing version 1.0. Also, we are still missing a few key functions/constructs of PHP, such as eval() or PDO. A rough timeline would be "a few months" :)