Announcement

Collapse
No announcement yet.

PHP 7.0 RC1 Is Running Much Faster Than PHP5, But Still Not Beating HHVM

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

  • PHP 7.0 RC1 Is Running Much Faster Than PHP5, But Still Not Beating HHVM

    Phoronix: PHP 7.0 RC1 Is Running Much Faster Than PHP5, But Still Not Beating HHVM

    With PHP 7.0 RC1 having been released last week, I've spent a fair amount of time in the past few days trying out this first release candidate for the huge PHP 7 milestone...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    So HHVM is faster but could possibly eat up all of your ram?

    Hmm...

    Comment


    • #3
      I think PHP 7.0 is definitely not going to have me interested in HHVM.

      Comment


      • #4
        PHP 7 is looking "good enough" for me at this point. Most of my pain points are external to PHP, HHVM's async functions might help for some tasks, but at the end of the day PHP is still single threaded procedural language.

        Comment


        • #5
          PHP7 RC2 is literally 24 hours away: https://wiki.php.net/todo/php70#timetable

          Also, in my tests PHP7 (php-fpm) is faster than HHVM for non-parallel loads.

          But I compile PHP7 with o3 march native mtune native and use --enable-inline-optimization on configure


          Comment


          • #6
            PHP 7 is a great improvement of PHP 5 but still it has no support for decorators and method overloading.

            Comment


            • #7
              Originally posted by uid313 View Post
              PHP 7 is a great improvement of PHP 5 but still it has no support for decorators and method overloading.
              what? http://php.net/manual/en/language.oop5.overloading.php

              Comment


              • #8
                That way of overloading is nasty. Now that php supports type hints it should allow things like:

                function mine(int $test)
                function mine(string $test)

                But for this some one would need to standup and write an rfc.

                Comment


                • #9
                  Originally posted by phoronix View Post
                  Phoronix: PHP 7.0 RC1 Is Running Much Faster Than PHP5, But Still Not Beating HHVM

                  With PHP 7.0 RC1 having been released last week, I've spent a fair amount of time in the past few days trying out this first release candidate for the huge PHP 7 milestone...

                  http://www.phoronix.com/scan.php?pag...RC1-Benchmarks
                  I'm curious (and maybe this will be in a forthcoming post) whether your testing has HHVM running in repo authoritative mode?

                  Comment


                  • #10
                    Originally posted by Kazanir View Post

                    I'm curious (and maybe this will be in a forthcoming post) whether your testing has HHVM running in repo authoritative mode?
                    No. does the repo authoritative mode even work for HHVM CLI apps?
                    Michael Larabel
                    https://www.michaellarabel.com/

                    Comment

                    Working...
                    X