Slashdot Mirror


HHVM Beats Stable Version of PHP 7.0 In Recent Benchmark (kinsta.com)

campuscodi writes: PHP7 and HHVM have been exchanging punches for a while via benchmarks. While the PHP supporters were always saying, just wait until the stable version comes out, well... the stable version is out, and a recent benchmark reveals that "HHVM beats PHP7.0 hands down." Compared on: WordPress, Magento, Drupal8, Laravel, PyroCMS, and October CMS. You can still be a "PHP supporter" and favor HHVM, which "serves as an execution engine for the PHP and Hack programming languages."

8 of 39 comments (clear)

  1. Re:But, it's all still PHP by Zero__Kelvin · · Score: 3, Informative

    Probably because changing which compiler version you use, etc. and changing it requires s few hours to a couple days at most, while re-writing an entire application in different language will take much, much longer.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  2. Not relevant by Aethedor · · Score: 4, Insightful

    I don't care about these results, for the simple fact that nothing guarantees that Facebook won't make any changes to HHVM in the future that is beneficial for Facebook, but adverse for all other PHP based webapplications. PHP 5 is fast enough for me. PHP 7 being significantly faster is more than good enough.

    --
    It doesn't have to be like this. All we need to do is make sure we keep talking.
    1. Re:Not relevant by Zero__Kelvin · · Score: 2

      "for the simple fact that nothing guarantees that Facebook won't make any changes to HHVM in the future that is beneficial for Facebook, but adverse for all other PHP based webapplications"

      You mean other than the fact that they probably couldn't do that even if they set out to do so intentionally and hired a team of Engineers to spend years trying to do it. I'm curious, just exactly how you think this is even possible? HHVM either supports PHP or it doesn't (turns out it does) and I cannot imagine a change that would allow them to be PHP Compatible while breaking all software that follows the standard, except Facebook's PHP. Did you think there is something magically differentilicious* about Facebooks PHP code base?

      * My new favorite, and newly coined, portmanteau, meaning deliciously different.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    2. Re:Not relevant by zidium · · Score: 3, Insightful

      They are the only organization to create a PHP specification in over 20 years of PHP's history.

      If anything, I would say they're far more committed to PHP than Zend ever was or PHP's new overlords, Rogue Wave.

      --
      Slashdot Valentines Beta Massacre: iT WORKED! The boycotts killed Beta!!
  3. PHP 7 is faster than HHVM by Anonymous Coward · · Score: 5, Interesting

    In our company we have developed HTTP/REST based microservice architecture framework written in PHP, and our performance tests show that PHP 7 is much faster than HHVM:

    PHP 5.6.13 - performance about 400 requests/second
    HHVM 3.10 - performance about 600 requests/second
    PHP 7.0.0 - performance about 750 requests/second

    In addition with PHP 7 we avoid many compatibility issues with 3rd party extensions not or badly supported on HHVM. Consequently HHVM is going to be obsolete after PHP 7 stabilises a bit.

    (I have also deployed PHP 7 on some Magento eshops and the performance gain is terrific compared to PHP 5.6.)

  4. Facebook by Max_W · · Score: 2

    As far as I know the Facebook is behind the HHVM. This alone makes me suspicious of perspectives. Will not HHVM start showing ads in future? Or offer a full version of the HHVM for a great price?

  5. Relative performance also interesting by Zaiff+Urgulbunger · · Score: 2
    Ignoring HHVM and just focusing on PHP 7 vs. CMS and Frameworks, the results were:
    1. Laravel 5.1.11 / PHP 7: 1363.24 trans/sec
    2. Drupal 8.0.1 / PHP 7: 917.10 trans/sec
    3. October CMS / PHP 7: 407.89 trans/sec
    4. WordPress 3.4.1 / PHP 7: 306.24 trans/sec
    5. WordPress 4.4 / PHP 7: 287.92 trans/sec
    6. Magneto 2.0 CE / PHP 7: 183.87 trans/sec
    7. PyroCMS v3 b2 / PHP 7: 145.95 trans/sec

    I assume Laravel is using static content here hence it's performance, but I'm intrigued at Drupal's performance compared with October and WordPress. Is this because Drupal's sample site is simpler and had less to do, or because Drupal is better optimised/cached?

  6. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion