Announcement

Collapse
No announcement yet.

PHP 7.0 vs. HHVM 3.10 Performance Tests

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP 7.0 vs. HHVM 3.10 Performance Tests

    Phoronix: PHP 7.0 vs. HHVM 3.10 Performance Tests

    With PHP 7.0 RC7 being the final development version of PHP 7, which is expected to be officially release at the end of the month, I've carried out some fresh benchmarks of PHP using our in-house benchmarking software. Compared in this latest PHP 7 benchmarking comparison is PHP 5.5 as packaged on Ubuntu 14.04 LTS and then comparing fresh builds of PHP 5.6.15 and PHP 7.0.0 RC7. On the HHVM side was using Facebook's HHVM 3.10.1 release as packaged for Ubuntu 14.04 LTS.

    http://www.phoronix.com/vr.php?view=22398

  • #2
    Ignoring the PHP hate about to come raining down on this thread, those are some massive performance gains and I'm proud of the developers

    Comment


    • #3
      Originally posted by phoronix View Post
      Phoronix: PHP 7.0 vs. HHVM 3.10 Performance Tests
      http://www.phoronix.com/vr.php?view=22398
      I believe the CPU info (1st line in the tables) is misleading because it isn't showing the effective CPU frequency while the benchmarks were running.

      Core-i7-3517U has 1.9 GHz base frequency but 3 GHz turbo frequency (http://ark.intel.com/products/65714/...up-to-3_00-GHz).

      Comment


      • #4
        Originally posted by << ⚛ >> View Post

        I believe the CPU info (1st line in the tables) is misleading because it isn't showing the effective CPU frequency while the benchmarks were running.

        Core-i7-3517U has 1.9 GHz base frequency but 3 GHz turbo frequency (http://ark.intel.com/products/65714/...up-to-3_00-GHz).
        That info table is gathered from the exposed sysfs information. Back on Ubuntu 14.04 it was still using CPUFreq, which only shows the base frequency. Since then, with Intel P-State, it reports the Turbo frequency. It's all just a matter of what's exposed by the system with sysfs....
        Michael Larabel
        http://www.michaellarabel.com/

        Comment


        • #5
          I am looking forward to using this in production, but we probably wont be until ubuntu 16.04.1 drops and we upgrade our servers :-/

          Comment


          • #6
            Please meassure the real CPU usage under heavy load. HHVM 3.10 uses ~50% less CPU than PHP7, so you will be able to serve more requests per server with HHVM. However PHP7 delivers faster results if you just test single script execution without parallelism..

            Comment


            • #7
              Originally posted by Spacefish View Post
              Please meassure the real CPU usage under heavy load. HHVM 3.10 uses ~50% less CPU than PHP7, so you will be able to serve more requests per server with HHVM. However PHP7 delivers faster results if you just test single script execution without parallelism..
              Based on the figures shown in the article, even if HHVM does use half the CPU of PHP7 it will still only serve the same number of requests as PHP7 is roughly twice as fast.

              Comment

              Working...
              X