Yowza. If I were seeing that kind of memory change in just one project
I'd say there was a bug and the code was just dying. :-)
What sort of configuration were you using in each case? A 512 KB Drupal
process seems, um, low, especially compared to the other projects listed
there. (Drupal 7 is normally rather memory hungry.)
--Larry Garfield
On 2/6/12 1:52 AM, Dmitry Stogov wrote:
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.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php