CINXE.COM
php.internals: Re: PHP 5.4 Benchmarks
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>php.internals: Re: PHP 5.4 Benchmarks</title> <link href="//fonts.googleapis.com/css?family=Fira+Sans|Source+Sans+Pro:300,400,600,400italic,600italic|Source+Code+Pro&subset=latin,latin-ext" rel="stylesheet"> <link rel="stylesheet" href="/style.css" type="text/css" /> <link rel="shortcut icon" href="//php.net/favicon.ico"> </head> <body> <header class="header"> <nav class="header-inner"> <a href="/" class="header-brand"> <img src="//php.net/images/logos/php-logo.svg" class="header-brand-img" alt="PHP" height="24" width="48"> <span class="header-brand-text">lists</span> </a> <ul class="header-menu"> <li class="header-menu-item"> <a class="header-menu-item-link" href="https://php.net/downloads.php">Downloads</a> </li> <li class="header-menu-item"> <a class="header-menu-item-link" href="https://php.net/docs.php">Documentation</a> </li> <li class="header-menu-item"> <a class="header-menu-item-link" href="https://php.net/get-involved.php">Get Involved</a> </li> <li class="header-menu-item mod-active"> <a class="header-menu-item-link" href="https://php.net/support.php">Help</a> </li> </ul> <form class="search-form" action="https://php.net/search.php"> <input class="search-input" value="" name="pattern" placeholder="Search"> </form> <div class="menu-icon" onclick="document.querySelector('.menu-mobile').classList.toggle('hide')">☰ MENU</div> <ul class="menu-mobile hide"> <li class="menu-mobile-item"> <a class="menu-mobile-item-link" href="https://php.net/downloads.php">Downloads</a> </li> <li class="menu-mobile-item"> <a class="menu-mobile-item-link" href="https://php.net/docs.php">Documentation</a> </li> <li class="menu-mobile-item"> <a class="menu-mobile-item-link" href="https://php.net/get-involved.php">Get Involved</a> </li> <li class="menu-mobile-item mod-active"> <a class="menu-mobile-item-link" href="https://php.net/support.php">Help</a> </li> </ul> </nav> </header> <nav class="secondary-nav"> <ul class="breadcrumbs"> <li class="breadcrumbs-item"><a class="breadcrumbs-item-link" href="/">PHP Mailing Lists</a></li> <li class="breadcrumbs-item"><a class="breadcrumbs-item-link" href="/php.internals">php.internals</a></li> <li class="breadcrumbs-item"><a class="breadcrumbs-item-link" href="/php.internals/57760">Re: PHP 5.4 Benchmarks</a></li> </ul></nav><section class="content"><h1>Re: PHP 5.4 Benchmarks</h1> <blockquote> <table class="standard"> <tr class="vcard"> <td class="headerlabel">From:</td> <td class="headervalue"><a href="mailto:dmitry+at+zend+dot+com" class="email fn n">Dmitry Stogov</a></td> <td class="headerlabel">Date:</td> <td class="headervalue">Mon, 06 Feb 2012 07:52:51 +0000</td> </tr> <tr> <td class="headerlabel">Subject:</td> <td class="headervalue" colspan="3">Re: PHP 5.4 Benchmarks</td> </tr> <tr> <td class="headerlabel">References:</td> <td class="headervalue" ><a href="/php.internals/57601">1</a> <a href="/php.internals/57740">2</a> <a href="/php.internals/57754">3</a> <a href="/php.internals/57759">4</a> </td> <td class="headerlabel">Groups:</td> <td class="headervalue" ><a href="/php.internals">php.internals</a> </td> </tr> <tr> <td class="headerlabel">Request:</td> <td class="headervalue" colspan="3">Send a blank email to <a href="mailto:internals+get-57760@lists.php.net">internals+get-57760@lists.php.net</a> to get a copy of this message</td> </tr> <tr> </table> </blockquote> <blockquote> <pre> Hi, I've just rerun some synthetic and real-life benchmarks. All the test were run on the same box (Linux, Core2 Duo 3GHz, 4GB RAM). 5.3 and 5.4 where configured and build with the same options and ran as FastCGI server with the same number of processes and set of extensions. PHP performance [sec] --------------------- 5.3 5.4 speedup bench.php 3.21 2.56 20% micro_bench.php 23.15 11.23 50% PHP + Zend OptimizerPlus performance [req/sec] ---------------------------------------------- 5.3 5.4 speedup blog 62.8 71.0 13% drupal 1074.3 1146.7 7% zend framework 102.9 124.6 21% hello 5955.4 7826.5 31% qdig 267.6 280.4 5% typo3 357.0 405.6 14% wordpress 119.8 130.8 9% xoops 78.4 93.0 19% scrum 96.3 117.4 22% PHP/O+ memory usage (memory_get_peak_usage) [KB] ------------------------------------------------ 5.3 5.4 improvement blog 1280 768 40% drupal 512 256 50% zend framework 7680 5888 23% hello 512 256 50% qdig 768 512 33% typo3 1536 1024 33% xoops 1536 1280 17% scrum 1792 1280 19% Thanks. Dmitry.<br><br> </pre> </blockquote> <blockquote> <h2> Thread (16 messages) </h2> <div class="responsive-table"> <table class="standard"> <thead> <tr> <th>#</th> <th>Subject</th> <th>Author</th> <th>Date</th> </tr> </thead> <tbody> <tr> <td align="center"><a href="/php.internals/57601">57601</a></td> <td><a href="/php.internals/57601">PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:andi+at+zend+dot+com" class="email fn n">Andi Gutmans</a></td> <td class="align-center"><span class='monospace mod-small'>Wed, 01 Feb 2012 18:08:54 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57602">57602</a></td> <td> <a href="/php.internals/57602">Re: PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:pierre+dot+php+at+gmail+dot+com" class="email fn n">Pierre Joye</a></td> <td class="align-center"><span class='monospace mod-small'>Wed, 01 Feb 2012 18:18:42 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57603">57603</a></td> <td> <a href="/php.internals/57603">RE: [PHP-DEV] PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:andi+at+zend+dot+com" class="email fn n">Andi Gutmans</a></td> <td class="align-center"><span class='monospace mod-small'>Wed, 01 Feb 2012 18:24:10 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57604">57604</a></td> <td> <a href="/php.internals/57604">Re: PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:pierre+dot+php+at+gmail+dot+com" class="email fn n">Pierre Joye</a></td> <td class="align-center"><span class='monospace mod-small'>Wed, 01 Feb 2012 18:37:24 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57605">57605</a></td> <td> <a href="/php.internals/57605">RE: [PHP-DEV] PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:andi+at+zend+dot+com" class="email fn n">Andi Gutmans</a></td> <td class="align-center"><span class='monospace mod-small'>Wed, 01 Feb 2012 18:42:53 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57607">57607</a></td> <td> <a href="/php.internals/57607">Re: PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:sean+at+seancoates+dot+com" class="email fn n">Sean Coates</a></td> <td class="align-center"><span class='monospace mod-small'>Wed, 01 Feb 2012 19:19:49 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57606">57606</a></td> <td> <a href="/php.internals/57606">Re: PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:johannes+at+schlueters+dot+de" class="email fn n">Johannes Schlüter</a></td> <td class="align-center"><span class='monospace mod-small'>Wed, 01 Feb 2012 18:49:20 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57608">57608</a></td> <td> <a href="/php.internals/57608">RE: [PHP-DEV] PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:andi+at+zend+dot+com" class="email fn n">Andi Gutmans</a></td> <td class="align-center"><span class='monospace mod-small'>Wed, 01 Feb 2012 19:32:16 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57740">57740</a></td> <td> <a href="/php.internals/57740">Re: PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:thekid+at+thekid+dot+de" class="email fn n">Timm Friebe</a></td> <td class="align-center"><span class='monospace mod-small'>Sun, 05 Feb 2012 18:26:19 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57754">57754</a></td> <td> <a href="/php.internals/57754">Re: PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:christopher+dot+jones+at+oracle+dot+com" class="email fn n">Christopher Jones</a></td> <td class="align-center"><span class='monospace mod-small'>Mon, 06 Feb 2012 00:03:44 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57759">57759</a></td> <td> <a href="/php.internals/57759">Re: PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:pierre+dot+php+at+gmail+dot+com" class="email fn n">Pierre Joye</a></td> <td class="align-center"><span class='monospace mod-small'>Mon, 06 Feb 2012 07:12:29 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57760">57760</a></td> <td> <a href="/php.internals/57760">Re: PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:dmitry+at+zend+dot+com" class="email fn n">Dmitry Stogov</a></td> <td class="align-center"><span class='monospace mod-small'>Mon, 06 Feb 2012 07:52:51 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57780">57780</a></td> <td> <a href="/php.internals/57780">Re: PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:larry+at+garfieldtech+dot+com" class="email fn n">Larry Garfield</a></td> <td class="align-center"><span class='monospace mod-small'>Mon, 06 Feb 2012 23:42:19 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57745">57745</a></td> <td> <a href="/php.internals/57745"></a></td> <td class="vcard"><a href="mailto:konference+at+kukulich+dot+cz" class="email fn n">Jaroslav Hanslik</a></td> <td class="align-center"><span class='monospace mod-small'>Sun, 05 Feb 2012 20:34:56 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57747">57747</a></td> <td> <a href="/php.internals/57747">Re: Re: PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:sebastian%40php.net" class="email fn n">Sebastian Bergmann</a></td> <td class="align-center"><span class='monospace mod-small'>Sun, 05 Feb 2012 21:07:23 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57752">57752</a></td> <td> <a href="/php.internals/57752">Re: Re: PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:kontakt+at+beberlei+dot+de" class="email fn n">Benjamin Eberlei</a></td> <td class="align-center"><span class='monospace mod-small'>Sun, 05 Feb 2012 22:38:55 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57745">57745</a></td> <td> <a href="/php.internals/57745"></a></td> <td class="vcard"><a href="mailto:konference+at+kukulich+dot+cz" class="email fn n">Jaroslav Hanslik</a></td> <td class="align-center"><span class='monospace mod-small'>Sun, 05 Feb 2012 20:34:56 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57747">57747</a></td> <td> <a href="/php.internals/57747">Re: Re: PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:sebastian%40php.net" class="email fn n">Sebastian Bergmann</a></td> <td class="align-center"><span class='monospace mod-small'>Sun, 05 Feb 2012 21:07:23 +0000</span></td> </tr> <tr> <td align="center"><a href="/php.internals/57752">57752</a></td> <td> <a href="/php.internals/57752">Re: Re: PHP 5.4 Benchmarks</a></td> <td class="vcard"><a href="mailto:kontakt+at+beberlei+dot+de" class="email fn n">Benjamin Eberlei</a></td> <td class="align-center"><span class='monospace mod-small'>Sun, 05 Feb 2012 22:38:55 +0000</span></td> </tr> </tbody> </table> </div> </blockquote> <table class="standard"> <tr> <th class="nav"> <a href="/php.internals/57759"><b>« <span>previous</span></b></a> </th> <th class="align-center">php.internals (#57760)</th> <th class="nav align-right"> <a href="/php.internals/57761"><b><span>next</span> »</b></a> </th> </tr> </table> </section> <footer class="footer"> <ul class="footer-nav"> <li class="footer-nav-item"> <a class="footer-nav-item-link" href="https://php.net/copyright.php"> Copyright ©2001-2024 The PHP Group </a> </li> <li class="footer-nav-item"> <a class="footer-nav-item-link" href="https://php.net/my.php">My PHP.net</a> </li> <li class="footer-nav-item"> <a class="footer-nav-item-link" href="https://php.net/contact.php">Contact</a> </li> <li class="footer-nav-item"> <a class="footer-nav-item-link" href="https://php.net/sites.php">Other PHP.net sites</a> </li> <li class="footer-nav-item"> <a class="footer-nav-item-link" href="https://php.net/mirrors.php">Mirror sites</a> </li> <li class="footer-nav-item"> <a class="footer-nav-item-link" href="https://php.net/privacy.php">Privacy policy</a> </li> </ul> </footer> </body> </html>