Slashdot Mirror


PHP 7.3 Performance Benchmarks Are Looking Good Days Ahead Of Its Release (phoronix.com)

PHP 7.3 RC6 was released earlier this week. Phoronix ran some benchmarks and compared the performance of v7.3 RC6 with releases going back to the v5.5 series. From the story: I ran some fresh benchmarks over the past day on PHP 5.5.38, PHP 5.6.38, PHP 7.0.32, PHP 7.1.24, PHP 7.2.12, and the PHP 7.3.0-RC6 test release. All of the PHP5/PHP7 builds were configured and built in the same manner. All tests happened from the same Dell PowerEdge R7425 dual EPYC server running Ubuntu 18.10 Linux.

Besides continuing to evolve the performance of PHP7, the PHP 7.3 release is also delivering on FFI (the Foreign Function Interface) to access functions / variables / data structures from the C language, a platform-independent manner for obtaining information on network interfaces, an is_countable() call, WebP support within GD's image create from string, updated SQLite support, improved PHP garbage collection performance, and many other enhancements. PHP 7.3 is just shy of 10% faster than PHP 7.2 in the popular PHPBench. PHP 7.3 is 31% faster than PHP 7.0 or nearly 3x the speed of PHP5.

7 of 91 comments (clear)

  1. PHP in a good language by gustavojralves · · Score: 5, Insightful

    Besides the critics, PHP is mature, well maintaned, has a good interaction with C and is easy to program.

    1. Re:PHP in a good language by Anonymous Coward · · Score: 3, Insightful

      That is one person's opinion from 7 years ago. PHP has advanced a bit since then.

      Way to be dishonest though.

    2. Re:PHP in a good language by 110010001000 · · Score: 3, Insightful

      Virtually everything used to post your comment, from your local computer to the network to the server, was written in C++.

    3. Re:PHP in a good language by tepples · · Score: 3, Interesting

      I tried to come up with a more balanced view on PHP, synthesizing Eevee's popular "fractal" essay, ManiacDan's "hardly" rebuttal, and Douglas Crockford's JavaScript: The Good Parts, to form coding standards and things that are still broken.

  2. Re: Why the constant focus on "performance"? by batukhan · · Score: 4, Informative

    Working on horrendous legacy code, we did a whole system rewrite and saw our server costs cut in half. Our main expenses are staff wages and server costs. Performance is a real issue.

  3. Re:You have a point there. by colfer · · Score: 3, Informative

    The session-handling has been a strong point from the beginning, or so I've read. It's certainly easy to use. I'd rather write in Perl or another language, but for web stuff PHP has the win. Despite all the crazy functions, it's solid. Upgrading is easy, modules all fit. Still some fatal errors that should be warnings.

  4. Re: Why the constant focus on "performance"? by drinkypoo · · Score: 4, Interesting

    While this all makes sense, my problem with PHP ain't CPU burn, it's memory usage. What I need from my PHP CMS is for it to use less RAM, not for it to use less CPU. CPU is cheap, RAM ain't.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"