rfc:performanceimprovements

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
rfc:performanceimprovements [2010/04/13 13:47] – created dmitryrfc:performanceimprovements [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * Date: 2010-04-13   * Date: 2010-04-13
   * Author: Dmitry Stogov <dmitry@zend.com>, Stanislav Malyshev <stas@zend.com>   * Author: Dmitry Stogov <dmitry@zend.com>, Stanislav Malyshev <stas@zend.com>
-  * Status: Under Discussion+  * Status: Implemented in 5.4
   * First Published at: http://wiki.php.net/rfc/performanceimprovements   * First Published at: http://wiki.php.net/rfc/performanceimprovements
  
Line 79: Line 79:
 ===== APC support ===== ===== APC support =====
  
-I'm going to develop a patch for APC in a few days after these patches are committed.+The patch for APC is provided in the patches sectionThe following performance measurements show the similar gain of the patch. Note that the provided patch implements basic support for literal tables and interned strings. It misses support for APC binary dumps. 
 + 
 +^                     ^ php-trunk ^ patched ^ improvement ^ 
 +| blog (req/sec)      |      60.2 |    66.0 |         10% | 
 +| drupal (req/sec)    |     931.6 |   946.4 |          2% | 
 +| fw (req/sec)        |      22.2 |    22.7 |          1% | 
 +| hello (req/sec)        5217.4 |  5198.3 |          0% | 
 +| qdig (req/sec)      |     233.4 |   244.4 |          5% | 
 +| typo3 (req/sec)         298.9 |   317.0 |          6% | 
 +| wordpress (req/sec) |      94.2 |   101.9 |          8% | 
 +| xoops (req/sec)          64.2 |    73.0 |         14% | 
 +| scrum (req/sec)          68.7 |    77.3 |         13% |
  
 ===== Patches ===== ===== Patches =====
Line 96: Line 107:
   * {{rfc:performanceimprovement:6-version.diff.txt}}   * {{rfc:performanceimprovement:6-version.diff.txt}}
  
 +after applying the patches the VM has to be regenerated running the following command in the Zend directory
 +
 +  * php zend_vm_gen.php
 +
 +Patch for APC
 +
 +  * {{rfc:performanceimprovement:apc.diff.txt}}
 +  
rfc/performanceimprovements.1271166429.txt.gz · Last modified: 2017/09/22 13:28 (external edit)